← Back to team overview

mahara-contributors team mailing list archive

[Bug 1211609] Re: Pieform warning message on a submittable page

 

Never mind, this is a replication of
https://bugs.launchpad.net/mahara/+bug/1188001

-- 
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/1211609

Title:
  Pieform warning message on a submittable page

Status in Mahara ePortfolio:
  Invalid

Bug description:
  1. Create  a group that accepts submissions
  2. As a member of that group, view one of your pages that has the "submit this page" command at the bottom

  Actual Result: It works, but it throws this warning message about
  Pieform wanting to add HEAD elements too late.

  [WAR] 6e (lib/pieforms/pieform.php:1408) Pieform element view_group_submission_form_6_options 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 view_group_submission_form_6_optio...", 8, true, true) at /home/aaronw/www/mahara/htdocs/lib/errors.php:109
      log_warn("Pieform element view_group_submission_form_6_optio...") at /home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:1408
      Pieform->build_element_html(array(size 10)) at /home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:659
      Pieform->build() at /home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:162
      Pieform::process(array(size 6)) at /home/aaronw/www/mahara/htdocs/lib/pieforms/pieform.php:71
      pieform(array(size 6)) at /home/aaronw/www/mahara/htdocs/lib/view.php:4535
      view_group_submission_form(object(View), array(size 1), "view") at /home/aaronw/www/mahara/htdocs/view/view.php:339

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


References