-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
2.4.4
-
MOODLE_24_STABLE
-
Coding error while generating data use admin tool 'Generator'
Replication steps:
- Open '/admin/tool/generator'.
- Create a few courses including forum module.
- Leave default values for forum options
- Click the 'Generate Data' button.
- And you will find the following error:
Error writing to database
More information about this error
Debug info: Column 'message' cannot be null
INSERT INTO m24_forum_posts (discussion,parent,userid,created,modified,mailed,subject,message,messageformat,messagetrust,mailnow) VALUES(?,?,?,?,?,?,?,?,?,?,?)
[array (
0 => 0,
1 => 0,
2 => '7747',
3 => 1373424007,
4 => 1373424007,
5 => 0,
6 => 'Test discussion',
7 => NULL,
8 => 1,
9 => 0,
10 => 0,
)]
Error code: dmlwriteexception
- will be (partly) resolved by
-
MDL-41311 Remove legacy tool_generator mess
- Closed