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

Bug #1686501 reported by Robert Lyon on 2017-04-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Critical
Unassigned
17.04
Critical
Unassigned
17.10
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

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>

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  Edit
Everyone can see this information.

Other bug subscribers