Pedro Santos created WICKET-6316:
------------------------------------

             Summary: Stateless link does not execute in a fresh page if its 
URL got encoded by Wicket's default request mapper
                 Key: WICKET-6316
                 URL: https://issues.apache.org/jira/browse/WICKET-6316
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 6.26.0, 8.0.0-M3, 7.6.0
            Reporter: Pedro Santos
            Assignee: Pedro Santos


If a stateless link is added to a stateful page, its URL will be encoded with 
the stateful page id on it, causing it to be executed in an old version of the 
page.

If the link URL gets encoded by an instance of an AbstractBookmarkableMapper, 
it will correctly get not stateful date encoded in its URL.

Stateless link URL in an stateful page mapped by Wicket's default mapper:
wicket/page?0-1.-statelessLink

and the same link mapped in a paged mounted in an segment:
segment?-1.-statelessLink

This bug was also the cause of WICKET-6288, but in that case the stateless link 
worked fine because it wasn't depending on the page's fresh state, which is a 
bug that could happen in the future.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to