Block edit screen has empy success (green) messages boxes

Bug #1609538 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Son Nguyen
15.10
Invalid
Medium
Unassigned
16.04
Invalid
Medium
Unassigned
16.10
Fix Released
Medium
Son Nguyen

Bug Description

When I add an block (eg an image block) I get a green box at top of page but no message in it.

When I add an image and then save and then reload page and then delete the block I get the green box again but still no message in it

It looks like the 'message' part of the ajax response is not set

Need to get the message set so it can appear

It looks like it's a problem in 15.10+

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/6790

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/6790
Committed: https://git.mahara.org/mahara/mahara/commit/6dc2a95da8c8d2e3f1ff1fb0fa4922514270b272
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 6dc2a95da8c8d2e3f1ff1fb0fa4922514270b272
Author: Son Nguyen <email address hidden>
Date: Thu Aug 4 09:11:03 2016 +1200

Bug 1609538: Don't display the alert message if empty

behatnotneeded

Change-Id: I8bc1287f6fbd45ac47a3e2351c063e1a05c16af1

Revision history for this message
Robert Lyon (robertl-9) wrote :

Actually it looks to only be a problem in 16.10 due to the changes to mahara.js file

Robert Lyon (robertl-9)
Changed in mahara:
milestone: 16.10.0 → none
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.