Artefact annotation blocktype js not using correct path when in cleanurls mode

Bug #1737059 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Unassigned

Bug Description

The call to the related json.php file tries to traverse the relative path rather than use the explicit path with config.wwwroot as base of path

Revision history for this message
Robert Lyon (robertl-9) wrote :
Changed in mahara:
milestone: none → 18.04.0
importance: Undecided → Medium
status: New → In Progress
summary: - Artefact annotation blocktype js not using correct path When in
+ Artefact annotation blocktype js not using correct path when in
cleanurls mode
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

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

commit 6b31906f59d22294e6b2ff66158cc7d869fb78d9
Author: Robert Lyon <email address hidden>
Date: Fri Dec 8 12:56:25 2017 +1300

Bug 1737059: Artefact annotation blocktype js not using correct path

When in cleanurls mode.

It tries to traverse the relative path rather than use the
config.wwwroot as base of path

Also we don't need the check if limit/offset is false as they are fetched
by function that returns null rather than false now

behatnotneeded

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

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
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.