Comment 1 for bug 1474143

Revision history for this message
Robert Lyon (robertl-9) wrote :

This seems to be caused by the bit:

    ArtefactTypeBlog->commit() at /home/robertl/htdocs/mahara-devel/mahara/htdocs/artefact/lib.php:579
    ArtefactType->__destruct() at /home/robertl/htdocs/mahara-devel/mahara/htdocs/artefact/blog/new/index.php:83
    ArtefactTypeBlog::new_blog(object(LiveUser), array(size 5)) at /home/robertl/htdocs/mahara-devel/mahara/htdocs/artefact/blog/new/index.php:83

Where a new blog is going to be created but ArtefactType->__destruct() is called first so that the new blog is not an insert by an update sql call, which in turn fails because column 'locked' doesn't have any value.