Achievements in Résumé result in an error in a portfolio page

Bug #1684079 reported by Jean Luc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Cecilia Vela Gurovic
16.10
Fix Released
Medium
Unassigned
17.04
Fix Released
Medium
Cecilia Vela Gurovic
17.10
Fix Released
Medium
Unassigned

Bug Description

Mahara: 16.10.2
OS: Debian 8.7

In domain.tld/artefact/resume/achievements.php I made an entry in "Books and publications". This entry is listed in a portfolio via an "One résumé field"-block ("Personal info").

On the portfolio page under this entry is a "Details"-button, which result in this error:

"A nonrecoverable error occurred. This probably means you have encountered a bug in the system"

Apache-Error-Log:

[:error] [WAR] 86 (lib/errors.php:543) The object is NOT an artefact, referer: https://domain.tld/view/view.php?id=5218
[:error] Call stack (most recent first):, referer: https://domain.tld/view/view.php?id=5218
[:error] * exception(object(MaharaException)) at Unknown:0, referer: https://domain.tld/view/view.php?id=5218
[:error] , referer: https://domain.tld/view/view.php?id=5218

Jean Luc (e.lock)
description: updated
Changed in mahara:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 16.10.3
Changed in mahara:
assignee: nobody → Cecilia Vela Gurovic (ceciliavg)
status: Confirmed → In Progress
Revision history for this message
Cecilia Vela Gurovic (ceciliavg) wrote :

This happens when we have enabled License metadata in Site options/General Settings

Revision history for this message
Cecilia Vela Gurovic (ceciliavg) wrote :

this is failing for other sections too, for testing please check:
 Books and publications
 Certifications, accreditations and awards
 Professional memberships
 Education and employment
 Employment history

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

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

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

commit 038c6bac5231ce0777fde965206abafa10beb214
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Apr 26 09:56:15 2017 +1200

Bug 1684079: Fix license error when adding resume artefacts

behatnotneeded

Change-Id: Ibc4a4040a8a57c0a2236ee9cd6e9b294ded89062

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

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "16.10_STABLE" branch: https://reviews.mahara.org/7694

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

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

commit 388c4590ba988179b91fdd7739c2f410e27dfcca
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Apr 26 09:56:15 2017 +1200

Bug 1684079: Fix license error when adding resume artefacts

behatnotneeded

Change-Id: Ibc4a4040a8a57c0a2236ee9cd6e9b294ded89062
(cherry picked from commit 038c6bac5231ce0777fde965206abafa10beb214)

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/7694
Committed: https://git.mahara.org/mahara/mahara/commit/444f4eb722d6afa3b8679497711f18479b06cbf1
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.10_STABLE

commit 444f4eb722d6afa3b8679497711f18479b06cbf1
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Apr 26 09:56:15 2017 +1200

Bug 1684079: Fix license error when adding resume artefacts

behatnotneeded

Change-Id: Ibc4a4040a8a57c0a2236ee9cd6e9b294ded89062
(cherry picked from commit 038c6bac5231ce0777fde965206abafa10beb214)

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.