Delete button doesn't work for submitted images on private profile

Bug #714473 reported by Brad Phillips
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
scalejournal
Fix Released
Critical
Brad Phillips

Bug Description

This may be due to the recent url structural changes to writers/private/username from the older structure, as they had been working previously.

Revision history for this message
Brad Phillips (brad-bradphillips) wrote :

Argh, this was rough to troubleshoot..soo many things could've been tripping it up. It ended up that it was a URL problem, but the sort I had anticipated.

The JavaScript that called the submission-delete widget was passing the id as a part of the 2nd sub-directory (i.e. scalejournal.org/images/delete11) instead of in it's own subdirectory (i.e. scalejournal.org/images/delete/11) & thus the delete widget (which was looking for the id in the 3rd subdirectory) was confused because it couldn't find a 3rd subdirectory.

A simple JS tweak has righted the issue.

Changed in scalejournal:
status: New → 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.