← Back to team overview

mahara-contributors team mailing list archive

[Bug 1813096] A change has been merged

 

Reviewed:  https://reviews.mahara.org/9477
Committed: https://git.mahara.org/mahara/mahara/commit/240b9a911baca88c2c45822bbd40a490b36458b3
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit 240b9a911baca88c2c45822bbd40a490b36458b3
Author: Lisa Seeto <lisaseeto@xxxxxxxxxxxxxxx>
Date:   Fri Jan 25 15:31:28 2019 +1300

Bug 1813096: report objectionable material link now

When a user selects to "report objectionable material" and
selects either notify administrator or cancel, the link or the message
should now display correctly.

Note: In the future Pieform needs a follow up for how it handles a user
cancelling the form probably similar to jsonsuccess

behatnotneeded

Change-Id: I6cf94289f6cee9e8d9ad6f2d1cc4b5852227a479
Signed-off-by: Lisa Seeto <lisaseeto@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/1813096

Title:
  Objectionable content functionality not working when cancel pressed

Status in Mahara:
  Fix Committed

Bug description:
  BUG SUMMARY: When a user browses to another users page and clicks the objectionable content link and then clicks cancel. The user is then unable to click the  objectionable content link.
  ==============================================

  Environment tested: Master & myportfolio-school-mahara sites
  Browser tested: All Browsers

  PRECONDITIONS: 
  ------------------------ 
  1) Portfolio page exists that has been shared with public 
  2) User other than author of page exists

  TEST STEPS: 
  ------------------------ 
  1) User browse to a portfolio page that they can access 
  2) User click the elipsis button > then click the "Report objectionable material" link
  3) A report objectionable material modal window appears over page ✔
  4) User click the cancel button 
  5) The report objectionable material modal window closes. ✔
  6) If the user clicks the elipsis button a second time 

  ** Actual result: ** 
  The "Report objectionable material" link now displays "Objectionable material reported" 

  ** Expected result: **
  When cancel is selected in the report objectionable material modal window, the following should happen
  1) modal window should close 
  2) if a user re clicks the elipsis icon
  --- a) the "Report objectionable material" link should be displayed
  --- b) the link should trigger the report objectionable material modal window to open 

  NOTE: 
  1) Clicking the "Notify administer" button is working fine ✔
  2) This issue is on both master and myportfolio-school-mahara site

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


References