← Back to team overview

mahara-contributors team mailing list archive

[Bug 1255361] A change has been merged

 

Reviewed:  https://reviews.mahara.org/2772
Committed: http://gitorious.org/mahara/mahara/commit/07627f8765f9824a20d2900a1557a5ff1b536dbe
Submitter: Son Nguyen (son.nguyen@xxxxxxxxxxxxxxx)
Branch:    1.8_STABLE

commit 07627f8765f9824a20d2900a1557a5ff1b536dbe
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Mon Dec 2 08:16:18 2013 +1300

Allowing non-institution site admins to publish (bug #1255361)

Currently, if a site admin tries to edit an institution page and
attach a file to a block (eg image block) and they don't belong to
that institution, the process fails.

Have altered the can_publish_artefact() to allow those that can edit
institutions to be allowed to also publish.

Change-Id: I05a2160e84814add067019e4bde654a6ebd561b1
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 Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1255361

Title:
  Error adding files to Institution pages

Status in Mahara ePortfolio:
  Fix Committed
Status in Mahara 1.6 series:
  In Progress
Status in Mahara 1.7 series:
  In Progress
Status in Mahara 1.8 series:
  In Progress
Status in Mahara 1.9 series:
  Fix Committed

Bug description:
  When I try to add an image attachment to an Institution page I get the following error: 
     A nonrecoverable error occurred. This probably means that you have encountered a bug in the system.
  This error happens in 1.6, 1.7, 1.8

  To replicate:

  1) Got to Administration -> Institutions - make sure you have an institution other than default one
  2) Add some image files to the institution (Administration -> Institutions -> Files)
  3) Add a page to the institution (Administration -> Institutions -> Pages) and try to add an image block to the page - when you select the file and hit save it gives you the error.

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


References