Closed mudrd8mz closed 2 years ago
has this been fixed?
@danmarsden it's fixed in code (already was) but only now do I have some time to actually look into the activity module. I'm now depending on the multistep proces of out gitlab to be fixed because there seem to be multiple issues with CI (not my setup so I have to delegate this). New version will be released and re-tagged for approval soon (I don't want to rush and push code for approval that's not on github yet).
Right after adding a new instance to the course on PostgreSQL, I am getting the error below.
Please refer to https://docs.moodle.org/dev/Plugin_contribution_checklist#Cross-DB_compatibility
Error writing to database
More information about this error Debug info: ERROR: null value in column "accountid" of relation "m_gwpayments" violates not-null constraint DETAIL: Failing row contains (1, 4, Pay !, , 1, null, 10.00, 21, EUR, 0, 1633714469, 1633714469). INSERT INTO m_gwpayments (name,cost,vat,currency,studentdisplayonpayments,course,intro,introformat,timecreated,timemodified) VALUES($1,$2,$3,$4,$5,$6,$7,$8,$9,$10) RETURNING id [array ( 'name' => 'Pay !', 'cost' => '10', 'vat' => '21', 'currency' => 'EUR', 'studentdisplayonpayments' => '0', 'course' => '4', 'intro' => '', 'introformat' => '1', 'timecreated' => 1633714469, 'timemodified' => 1633714469, )] Error code: dmlwriteexception Stack trace: