What steps will reproduce the problem?
1. Attempt to install Shibboleth auth plugin into a working Mahara 1.4.0 site
The plugin fails to install due to PostgreSQL less-relaxed datatype checking.
In the version.php file, the two boolean assignments will be translated to
empty strings by ADODB, and since the corresponding column datatypes are
integer, PostgreSQL will puke.
Suggested change:
$config->requires_config = true;
$config->requires_parent = false;
Should be:
$config->requires_config = 1;
$config->requires_parent = 0;
In the lib.php file, lines 46-55 are not necessary because the LiveUser()
constructor will initialize the properties, and the subsequent boolean
assignments will cause new user creation to fail for the same reason as the
installation failure.
Suggest lines 46-55 in lib.php be deleted.
Regards,
FW
Original issue reported on code.google.com by fredwool...@gmail.com on 15 Aug 2011 at 3:41
Original issue reported on code.google.com by
fredwool...@gmail.com
on 15 Aug 2011 at 3:41