← Back to team overview

mahara-contributors team mailing list archive

[Bug 1055868] Re: When editing a block using IOS devices, a warning is shown

 

Richard fixed something like this last year. It was basically a race
condition and I think the fix was to swap two lines around or something
like that.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1055868

Title:
  When editing a block using IOS devices, a warning is shown

Status in Mahara ePortfolio:
  Triaged

Bug description:
  [WAR] 72 (lib/pieforms/pieform.php:1408) Pieform element instconf_artefactids 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 instconf_artefactids wants to add ...", 8, true, true) at /var/www/mahara-dev/htdocs/lib/errors.php:109
  log_warn("Pieform element instconf_artefactids wants to add ...") at /var/www/mahara-dev/htdocs/lib/pieforms/pieform.php:1408
  Pieform->build_element_html(array(size 17)) at /var/www/mahara-dev/htdocs/lib/pieforms/pieform.php:659
  Pieform->build() at /var/www/mahara-dev/htdocs/blocktype/lib.php:879
  BlockInstance->build_configure_form(false) at /var/www/mahara-dev/htdocs/blocktype/lib.php:628
  BlockInstance->render_editing(true) at /var/www/mahara-dev/htdocs/view/blocks.php:240

  This is because there is a function pieform_get_headdata in
  lib/pieform/pieform.php, which is called by lib/web.php and defines
  PIEFORM_GOT_HEADDATA

  I am not sure about problems with it, just reporting it.

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


References