Submitted collection causes unknown $url error on pages/collections list

Bug #1686501 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Critical
Unassigned
17.04
Fix Released
Critical
Unassigned
17.10
Fix Released
High
Unassigned

Bug Description

This is due to returning the is submitted info but not returning the related group/host info to work out the url.

This is a mistake with the adjustment of the get_myviews_data() function. We used to join on the submitted info if user page and / or non empty user collection.

But now we only do it for user page.

I'll add a fix to allow the non empty user collection to do this again

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/7697

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

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

commit a0ca5e007b02986c306fa1eeedb48f3bdf47ddaf
Author: Robert Lyon <email address hidden>
Date: Thu Apr 27 07:29:39 2017 +1200

Bug 1686501: Allowing submitted collections to get correct $url info

behatnotneeded

Change-Id: I41520bf9afa1c822d83b299f6cdd21af53225fcf
Signed-off-by: Robert Lyon <email address hidden>

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

Patch for "17.04_STABLE" branch: https://reviews.mahara.org/7698

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

Reviewed: https://reviews.mahara.org/7698
Committed: https://git.mahara.org/mahara/mahara/commit/79bf6f784353de1d8e376408ad6ca4038852d6dc
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.04_STABLE

commit 79bf6f784353de1d8e376408ad6ca4038852d6dc
Author: Robert Lyon <email address hidden>
Date: Thu Apr 27 07:29:39 2017 +1200

Bug 1686501: Allowing submitted collections to get correct $url info

behatnotneeded

Change-Id: I41520bf9afa1c822d83b299f6cdd21af53225fcf
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit a0ca5e007b02986c306fa1eeedb48f3bdf47ddaf)

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.