Clean code for potemplates +admin form next_url

Bug #526998 reported by Adi Roiban
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Adi Roiban

Bug Description

Since the potemplate +admin form can be accessed from both series/+templates page and from the potemplates index page the form is using HTTP_REFERER for choosing the next_url.

Since +admin form can rename the template, the previous URL is no longer valid and this is why things are more complicated.

As on MP 19395 (https://code.edge.launchpad.net/~adiroiban/launchpad/bug-522188/+merge/19395), we were not able to find a nicer solution for this problem.

Related branches

Changed in rosetta:
status: New → Triaged
importance: Undecided → Low
tags: added: tech-debt
tags: removed: cleanup
Adi Roiban (adiroiban)
Changed in rosetta:
assignee: nobody → Adi Roiban (adiroiban)
Revision history for this message
Ursula Junque (ursinha) wrote : Bug fixed by a commit
Changed in rosetta:
milestone: none → 10.03
status: Triaged → Fix Committed
tags: added: qa-needstesting
Adi Roiban (adiroiban)
tags: added: qa-ok
removed: qa-needstesting
Revision history for this message
Curtis Hovey (sinzui) wrote : Bug 526998 Fix released

Fixed released in launchpad-project 10.03.

Changed in rosetta:
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.