Resume 'introduction' submenu not working in clean urls site

Bug #1820774 reported by Robert Lyon on 2019-03-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
High
Robert Lyon
17.10
High
Unassigned
18.04
High
Unassigned
18.10
High
Unassigned
19.04
High
Robert Lyon

Bug Description

Go to artefact/resume/index.php

And click on the 'Introduction' arrow menu item

When on non clean urls site it loads the page correctly

But on a clean urls site we get an error:

Page not found
You tried to access a page that does not exist.

Page resume by artefact not found.

This is when we have the following rewrite rules in place:
      RewriteRule ^/user/([a-z0-9-]+)/?$ /user/view.php?profile=$1&%{QUERY_STRING}
      RewriteRule ^/user/([a-z0-9-]+)/([a-z0-9-]+)/?$ /view/view.php?profile=$1&page=$2&%{QUERY_STRING}
      RewriteRule ^/group/([a-z0-9-]+)/?$ /group/view.php?homepage=$1&%{QUERY_STRING}
      RewriteRule ^/group/([a-z0-9-]+)/([a-z0-9-]+)/?$ /view/view.php?homepage=$1&page=$2&%{QUERY_STRING}
      RewriteRule ^/([a-z0-9-]+)/?$ /user/view.php?profile=$1&%{QUERY_STRING}
      RewriteRule ^/([a-z0-9-]+)/([a-z0-9-]+)/?$ /view/view.php?profile=$1&page=$2&%{QUERY_STRING}

Robert Lyon (robertl-9) on 2019-03-19
description: updated
Changed in mahara:
status: New → In Progress
importance: Undecided → High
importance: High → Medium
assignee: nobody → Robert Lyon (robertl-9)
importance: Medium → High
milestone: none → 19.04.0

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

commit 099fb56d969b3d6b4ec7816df26332162bc6a619
Author: Robert Lyon <email address hidden>
Date: Tue Mar 19 13:31:03 2019 +1300

Bug 1820774: Need to have full url in Resume -> introduction link

In the arrow menu
So that it woeks on sites with clean urls

behatnotneeded

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

Robert Lyon (robertl-9) on 2019-03-19
Changed in mahara:
status: In Progress → Fix Committed
Mahara Bot (dev-mahara) wrote :

Patch for "18.04_STABLE" branch: https://reviews.mahara.org/9642

Mahara Bot (dev-mahara) wrote :

Patch for "17.10_STABLE" branch: https://reviews.mahara.org/9643

Reviewed: https://reviews.mahara.org/9643
Committed: https://git.mahara.org/mahara/mahara/commit/511d5e8f684b1797771fb0aa6809b896556d2f31
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.10_STABLE

commit 511d5e8f684b1797771fb0aa6809b896556d2f31
Author: Robert Lyon <email address hidden>
Date: Tue Mar 19 13:31:03 2019 +1300

Bug 1820774: Need to have full url in Resume -> introduction link

In the arrow menu
So that it woeks on sites with clean urls

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/9642
Committed: https://git.mahara.org/mahara/mahara/commit/426f61d8b8d477042b501f1e3b061326d168e5e3
Submitter: Robert Lyon (<email address hidden>)
Branch: 18.04_STABLE

commit 426f61d8b8d477042b501f1e3b061326d168e5e3
Author: Robert Lyon <email address hidden>
Date: Tue Mar 19 13:31:03 2019 +1300

Bug 1820774: Need to have full url in Resume -> introduction link

In the arrow menu
So that it woeks on sites with clean urls

behatnotneeded

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

Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/9641
Committed: https://git.mahara.org/mahara/mahara/commit/1b5ad3bdef3ac864540ef13803fb1381f374f283
Submitter: Robert Lyon (<email address hidden>)
Branch: 18.10_STABLE

commit 1b5ad3bdef3ac864540ef13803fb1381f374f283
Author: Robert Lyon <email address hidden>
Date: Tue Mar 19 13:31:03 2019 +1300

Bug 1820774: Need to have full url in Resume -> introduction link

In the arrow menu
So that it woeks on sites with clean urls

behatnotneeded

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

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers