Incorrect event triggered when share a collection with a group

Bug #1702374 reported by Dmitrii Metelkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned

Bug Description

This bug was discovered as part of https://bugs.launchpad.net/mahara/+bug/1701437

Version of Mahara: 16.10.2

When you share a collection with a group it triggers event "saveview" and save DB record like:

53773 | 53773 | 2017-06-29 20:40:06 | saveview | {"id":"14925"}

But view hasn't been updated as we just have changed collection access rule, but not any page in the collection.

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

Part of this issue is when we update access for a collection it is actually updating the access for all the views within the collection.

What we need to do is to create a new event 'saveviewaccess' and record that when we update view/collection access instead

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

In version 17.10 there will be an 'updateviewaccess' event that is recorded when access for a view/collection is changed.

Changed in mahara:
status: New → Fix Committed
importance: Undecided → Medium
milestone: none → 17.10.0
Robert Lyon (robertl-9)
Changed in mahara:
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.