On Thu, Apr 12, 2012 at 8:22 AM, Alec Swan <alecs...@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<alecs...@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 >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>>> For additional commands, e-mail: users-h...@wicket.apache.org >>>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >>> For additional commands, e-mail: users-h...@wicket.apache.org >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org