← Back to team overview

mahara-contributors team mailing list archive

[Bug 1132660] A change has been merged

 

Reviewed:  https://reviews.mahara.org/2244
Committed: http://gitorious.org/mahara/mahara/commit/8a5a869eaf47d9b88f1f11762d1cf706553cfc31
Submitter: Son Nguyen (son.nguyen@xxxxxxxxxxxxxxx)
Branch:    master

commit 8a5a869eaf47d9b88f1f11762d1cf706553cfc31
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Mon May 27 10:08:32 2013 +1200

Fix for user profile page throws headdata error (Bug #1132660)

Problem was the $smarty instance created before forms were generated.
I moved the smarty instance call to after form generation and passed the
$smarty->assign calls to it then

Change-Id: I12705f06b22cee76cd84017e807ba2b0c5ef213e
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1132660

Title:
  "invite user to group" form on user profile page throws headdata error

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 1.5 series:
  In Progress
Status in Mahara 1.6 series:
  In Progress
Status in Mahara 1.7 series:
  In Progress

Bug description:
  [WAR] 1d (lib/pieforms/pieform.php:1408) Pieform element invite_group wants to add headdata to the page, but it's too late. Build your form before generating the page.
  Call stack (most recent first):

      log_message("Pieform element invite_group wants to add headdata...", 8, true, true) at /var/www/mahara-dev/code/htdocs/lib/errors.php:109
      log_warn("Pieform element invite_group wants to add headdata...") at /var/www/mahara-dev/code/htdocs/lib/pieforms/pieform.php:1408
      Pieform->build_element_html(array(size 13)) at /var/www/mahara-dev/code/htdocs/lib/pieforms/pieform.php:659
      Pieform->build() at /var/www/mahara-dev/code/htdocs/lib/pieforms/pieform.php:162
      Pieform::process(array(size 4)) at /var/www/mahara-dev/code/htdocs/lib/pieforms/pieform.php:71
      pieform(array(size 4)) at /var/www/mahara-dev/code/htdocs/user/view.php:201

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1132660/+subscriptions


References