double call of language_select_form()

Bug #1286941 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Robert Lyon
1.8
Fix Released
Medium
Unassigned

Bug Description

Double call of language_select_form() throws error

Some things like die_info() will try and create a smarty() call when
we are already in one, which causes language_select_form() to throw
headdata error as it is called twice and can't be due to the form
having a select field in it and select fields love to add data to the
$HEADDATA.

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/3061

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/3061
Committed: http://gitorious.org/mahara/mahara/commit/1968412b66216abc6e249401bce5c1c3e32ddd56
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 1968412b66216abc6e249401bce5c1c3e32ddd56
Author: Robert Lyon <email address hidden>
Date: Mon Mar 3 13:10:58 2014 +1300

Double call of language_select_form() throws error (bug #1286941)

Some things like die_info() will try and create a smarty() call when
we are already in one, which causes language_select_form() to throw
headdata error as it is called twice and can't be due to the form
having a select field in it and select fields love to add data to the
$HEADDATA.

Made it so that it is only called once.

Change-Id: Ie2099dfc1990c8bd2a039bdd33869d9b65c156f1
Signed-off-by: Robert Lyon <email address hidden>

Aaron Wells (u-aaronw)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "1.8_STABLE" branch: https://reviews.mahara.org/4018

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4018
Committed: http://gitorious.org/mahara/mahara/commit/74cdf31bdffa5bd6045f959bfd94df7850c9fc29
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.8_STABLE

commit 74cdf31bdffa5bd6045f959bfd94df7850c9fc29
Author: Robert Lyon <email address hidden>
Date: Mon Mar 3 13:10:58 2014 +1300

Double call of language_select_form() throws error (bug #1286941)

Some things like die_info() will try and create a smarty() call when
we are already in one, which causes language_select_form() to throw
headdata error as it is called twice and can't be due to the form
having a select field in it and select fields love to add data to the
$HEADDATA.

Made it so that it is only called once.

Change-Id: Ie2099dfc1990c8bd2a039bdd33869d9b65c156f1
Signed-off-by: Robert Lyon <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.