editing an older version of a page keeps you at that version of the page

Bug #125573 reported by Aaron Swartz
2
Affects Status Importance Assigned to Milestone
Infogami
Confirmed
Medium
Anand Chitipothu

Bug Description

1. Visit a page like: /foo?m=edit&v=16
2. Change something.
3. Hit save.

Result: You're redirected to /foo?v=16 and the page appears to have not changed.

Expected result: You're redirected to /foo

Revision history for this message
Aaron Swartz (aaronsw) wrote :

perhaps to be assigned to Schaefer?

Changed in infogami:
assignee: nobody → anandology
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Anand Chitipothu (anandology) wrote : Re: [Bug 125573] editing an older version of a page keeps you at that version of the page

On 12-Jul-07, at 9:37 PM, Aaron Swartz wrote:

> Public bug reported:
>
> 1. Visit a page like: /foo?m=edit&v=16
> 2. Change something.
> 3. Hit save.
>
> Result: You're redirected to /foo?v=16 and the page appears to have
> not
> changed.

I think changequery should clear the existing query when an optional
argument clear=True.

def changequery(_clear=False, **kw): ...

or

def changequery(query=None, **kw):
     if query is None: query = web.input(_method='GET')
     ....

changequery({}, m=None)

Changed in infogami:
milestone: none → 0.1
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.