Delete Wall Post Throws 404 Error

Bug #1113180 reported by awillson on 2013-02-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
High
Melissa Draper

Bug Description

Using Mahara 1.6.2
With URL ReWrite and CleanURL options

Deleting Wall Posts throws a 404 error because line 48 in deletepost.php adds an extra 'wwwroot' to the redirected URL in the deletepost_submit function...

Commenting out line 48 fixes the problem...

I haven't looked at the CleanURL code, so I'm not sure how to automate the process...

Melissa Draper (melissa) on 2013-02-06
Changed in mahara:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Melissa Draper (melissa)
milestone: none → 1.6.3

Reviewed: https://reviews.mahara.org/2028
Committed: http://gitorious.org/mahara/mahara/commit/1df5157f918b2e230b14d4afc4cfb393cc5e28d9
Submitter: Son Nguyen (<email address hidden>)
Branch: master

commit 1df5157f918b2e230b14d4afc4cfb393cc5e28d9
Author: Melissa Draper <email address hidden>
Date: Wed Feb 6 14:34:16 2013 +1300

    Remove the wwwroot from redirect url concatenation (Bug #1113180)

    With this in the concatenation, the redirection to the user's profile
    page has an extra wwwroot and hence 404's. The deletion still happens
    but it looks pretty bad.

    Fix suggested by lp:~awillson

    Change-Id: I8149ae72254bae3e6b502f3a291e00a8c6c87a4e
    Signed-off-by: Melissa Draper <email address hidden>

Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/2031
Committed: http://gitorious.org/mahara/mahara/commit/7e09b3aca4631a9b1e5fb9cf7636339c6a56646c
Submitter: Son Nguyen (<email address hidden>)
Branch: 1.6_STABLE

commit 7e09b3aca4631a9b1e5fb9cf7636339c6a56646c
Author: Melissa Draper <email address hidden>
Date: Wed Feb 6 14:34:16 2013 +1300

    Remove the wwwroot from redirect url concatenation (Bug #1113180)

    With this in the concatenation, the redirection to the user's profile
    page has an extra wwwroot and hence 404's. The deletion still happens
    but it looks pretty bad.

    Fix suggested by lp:~awillson

    Change-Id: I8149ae72254bae3e6b502f3a291e00a8c6c87a4e
    Signed-off-by: Melissa Draper <email address hidden>

Son Nguyen (ngson2000) on 2013-03-26
Changed in mahara:
status: Confirmed → Fix Committed
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers