-
Bug
-
Resolution: Fixed
-
Major
-
1.9
-
None
-
Windows Server 2003
Apache 2.0.59
PHP 5.2.5
MySQL 5.0.51a
-
MySQL
-
MOODLE_19_STABLE
-
MOODLE_19_STABLE
I'm running into an error where the database preset is not importing templates, but it is importing the fields. if I try to import the buzz preset (http://moodle.org/mod/forum/discuss.php?d=84050#p371801 ) with debugging set to all I get the following error:
Notice: Array to string conversion in C:\Program Files\Apache Group\Apache2\htdocs\Moodle\moodle19\lib\datalib.php on line 28
Incorrect integer value: '' for column 'notification' at row 1
It seems that the notification field requires an integer value and will not accept a Null value (like the one being passed). This causes the import to fail (but it actually displays a message saying that the preset was applied successfully)
I've attached a screenshot of the error.
I'm seeing this on Moodle 1.9+ (Build 20080410)
- has a non-specific relationship to
-
MDL-14548 Modify the notification field in data module to be NOT NULL and to have a nice (0) default
-
- Closed
-
- has been marked as being related by
-
MDL-12439 Templates not imported in database preset import
-
- Closed
-
- will be (partly) resolved by
-
MDL-14540 Database activity import preset don't work correctly
-
- Closed
-