| From | Sent On | Attachments |
|---|---|---|
| Alec Swan | Apr 11, 2012 2:36 pm | |
| Igor Vaynberg | Apr 11, 2012 2:55 pm | |
| Bertrand Guay-Paquet | Apr 11, 2012 3:07 pm | |
| Martin Grigorov | Apr 11, 2012 11:33 pm | |
| Alec Swan | Apr 12, 2012 8:22 am | |
| Igor Vaynberg | Apr 12, 2012 8:43 am | |
| Martin Grigorov | Apr 12, 2012 8:55 am | |
| Igor Vaynberg | Apr 12, 2012 8:57 am | |
| Alec Swan | Apr 12, 2012 9:32 am | |
| Bertrand Guay-Paquet | Apr 12, 2012 9:47 am | |
| Martin Grigorov | Apr 12, 2012 10:39 am | |
| Alec Swan | Apr 12, 2012 12:15 pm | |
| Dan Retzlaff | Apr 12, 2012 12:34 pm | |
| Igor Vaynberg | Apr 12, 2012 12:43 pm | |
| Bertrand Guay-Paquet | Apr 12, 2012 1:55 pm | |
| Igor Vaynberg | Apr 12, 2012 1:59 pm | |
| Martin Grigorov | Apr 13, 2012 12:54 am | |
| Alec Swan | Apr 13, 2012 12:38 pm |
| Subject: | Re: Same versioned link opens different pages on different machines | |
|---|---|---|
| From: | Igor Vaynberg (igor...@gmail.com) | |
| Date: | Apr 12, 2012 8:43:13 am | |
| List: | org.apache.wicket.users | |
On Thu, Apr 12, 2012 at 8:22 AM, Alec Swan <alec...@gmail.com> wrote:
Igor,
The link I click ends with /mp/oid/123.9, where 123 is a product id. However, when the page is rendered its URL changes to end with /mp/oid/123.x where x is different every time. Moreover, the page is displaying the wrong product 379!
So, it's not the wrong version of the page, but the wrong product that worries me.
Can you explain this?
i never once said the word "version" in my response :) i was, in fact, talking about page ids. i dont think the old hybrid url coding strategy checks the page id in its url against the mount. so in your session page 9 can be something entirely different. i believe this is what was fixed by WICKET-4488.
-igor
Thanks,
Alec
On Wed, Apr 11, 2012 at 4:08 PM, Bertrand Guay-Paquet <ber...@step.polymtl.ca> wrote:
Hi,
A ticket regarding this was created and resolved in 1.5 (WICKET-4488). From the work log: "There was code for this situation but it didn't cover the case 100%. Now if a request to page2?0 is made and the type of the found page with id=0 is not Page2 then a new instance of Page2 is instantiated."
On 11/04/2012 5:56 PM, Igor Vaynberg wrote:
page 5 in your session can be completely different then page 5 in user's session.
non-bookmarkable urls cannot be emailed...thats kind of the point.
-igor
On Wed, Apr 11, 2012 at 2:37 PM, Alec Swan<alec...@gmail.com> wrote:
Hello,
I received a link from a customer to a versioned page (.version at the end of the URL). However, when I click on the link I see a completely different page.
We are using Wicket 1.4.17 and the page is mounted as:
mount(new HybridUrlCodingStrategy("mp", MyPage.class));
Why is this happening and how can I fix this?
Thanks,
Alec





