mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #30997
[Bug 1513716] [NEW] Intermittent error "Call to a member function StartTrans() on a non-object" when saving a blog post in 15.04
Public bug reported:
See https://mahara.org/interaction/forum/topic.php?id=7397
Also https://bugs.launchpad.net/mahara/+bug/1513710
The Embedded Image code ( https://reviews.mahara.org/#/c/5128/ ) adds a
line to blog/post.php that does "set()" on an artefact without
subsequently calling "commit()". This causes the (buggy) artefact
destructor method to try to save the object to the database when the
script ends, and that can cause an intermittent fatal error if $db got
garbage collected before the artefact destructor was called.
** Affects: mahara
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1513716
Title:
Intermittent error "Call to a member function StartTrans() on a non-
object" when saving a blog post in 15.04
Status in Mahara:
New
Bug description:
See https://mahara.org/interaction/forum/topic.php?id=7397
Also https://bugs.launchpad.net/mahara/+bug/1513710
The Embedded Image code ( https://reviews.mahara.org/#/c/5128/ ) adds
a line to blog/post.php that does "set()" on an artefact without
subsequently calling "commit()". This causes the (buggy) artefact
destructor method to try to save the object to the database when the
script ends, and that can cause an intermittent fatal error if $db got
garbage collected before the artefact destructor was called.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1513716/+subscriptions
Follow ups
-
[Bug 1513716] Re: Intermittent error "Call to a member function StartTrans() on a non-object" when saving a blog post in 15.04
From: Kristina Hoeppner, 2016-04-30
-
[Bug 1513716] Re: Intermittent error "Call to a member function StartTrans() on a non-object" when saving a blog post in 15.04
From: Aaron Wells, 2016-03-23
-
[Bug 1513716] Re: Intermittent error "Call to a member function StartTrans() on a non-object" when saving a blog post in 15.04
From: Robert Lyon, 2016-03-23
-
[Bug 1513716] A change has been merged
From: Mahara Bot, 2016-03-17
-
[Bug 1513716] A change has been merged
From: Mahara Bot, 2016-03-17
-
[Bug 1513716] Re: Intermittent error "Call to a member function StartTrans() on a non-object" when saving a blog post in 15.04
From: Robert Lyon, 2016-03-17
-
[Bug 1513716] A patch has been submitted for review
From: Mahara Bot, 2016-03-17
-
[Bug 1513716] A change has been merged
From: Mahara Bot, 2016-03-17
-
[Bug 1513716] A patch has been submitted for review
From: Mahara Bot, 2016-03-17
-
[Bug 1513716] Re: Intermittent error "Call to a member function StartTrans() on a non-object" when saving a blog post in 15.04
From: Robert Lyon, 2016-03-17
-
[Bug 1513716] Re: Intermittent error "Call to a member function StartTrans() on a non-object" when saving a blog post in 15.04
From: Aaron Wells, 2015-11-26
-
[Bug 1513716] Re: Intermittent error "Call to a member function StartTrans() on a non-object" when saving a blog post in 15.04
From: Aaron Wells, 2015-11-09
-
[Bug 1513716] A patch has been submitted for review
From: Mahara Bot, 2015-11-06
-
[Bug 1513716] Re: Intermittent error "Call to a member function StartTrans() on a non-object" when saving a blog post in 15.04
From: Aaron Wells, 2015-11-06