← Back to team overview

mahara-contributors team mailing list archive

[Bug 1052429] A change has been merged

 

Reviewed:  https://reviews.mahara.org/1745
Committed: http://gitorious.org/mahara/mahara/commit/5031431b4b47c1fdb7a697365a2e2bb9d92c3974
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 5031431b4b47c1fdb7a697365a2e2bb9d92c3974
Author: Son Nguyen <son.nguyen@xxxxxxxxxxxxxxx>
Date:   Thu Oct 4 09:04:11 2012 +1300

Redirect to /artefact/file/ when click Cancel (bug #1052429)

In non-js web browser, the pieform of filebrowser will be submitted when
click 'Cancel' button. Handle this action by redirect to
/artefact/file/index.php

Change-Id: If32385105f8c705be08ae70fa00bc9583f0227a1
Signed-off-by: Son Nguyen <son.nguyen@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/1052429

Title:
  Javascript issue on  /artefact/file/index.php

Status in Mahara ePortfolio:
  In Progress

Bug description:
  /artefact/file/index.php
  reported for 1.5dev

  When editing a file attributes (icon next to delete), it redirects to
  a new page where you can edit the options. If you click cancel at this
  new page it shows the following:

  [WAR] 71 (lib/errors.php:464) An exception was thrown of class PieformException.
  THIS IS BAD and should be changed to something extending MaharaException,
  unless the exception is from a third party library.
  Original trace follows
  [WAR] 71 (lib/pieforms/pieform.php:528) No function registered to handle form submission for form "files"
  Call stack (most recent first):
  Pieform->__construct(array(size 12)) at /home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:161
  Pieform::process(array(size 12)) at /home/hugh/src/mahara/mahara/htdocs/lib/pieforms/pieform.php:71
  pieform(array(size 12)) at /home/hugh/src/mahara/mahara/htdocs/artefact/file/index.php:38

  The url is /artefact/file/index.php?edit=32

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


References