You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Serban Balamaci (Created) (JIRA)" <ji...@apache.org> on 2012/02/07 23:43:02 UTC

[jira] [Created] (WICKET-4395) Code using jolira stateless broken on upgrade from 1.5.3 to 1.5.4, snapshot

Code using jolira stateless broken on upgrade from 1.5.3 to 1.5.4, snapshot
---------------------------------------------------------------------------

                 Key: WICKET-4395
                 URL: https://issues.apache.org/jira/browse/WICKET-4395
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5.4
            Reporter: Serban Balamaci


I have created quickstart. 
Click on the "Product link" in home page then on next page the "Click stateless link". Exception occurs. 
Change in pom.xml to wicket 1.5.3 and repeat, code works as expected.

Thanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (WICKET-4395) Code using jolira stateless broken on upgrade from 1.5.3 to 1.5.4, snapshot

Posted by "Martin Grigorov (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204446#comment-13204446 ] 

Martin Grigorov commented on WICKET-4395:
-----------------------------------------

You may file a ticket in Jolira's issue tracker.
                
> Code using jolira stateless broken on upgrade from 1.5.3 to 1.5.4, snapshot
> ---------------------------------------------------------------------------
>
>                 Key: WICKET-4395
>                 URL: https://issues.apache.org/jira/browse/WICKET-4395
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.4
>            Reporter: Serban Balamaci
>         Attachments: stateless-qs.tar.gz
>
>
> I have created quickstart. 
> Click on the "Product link" in home page then on next page the "Click stateless link". Exception occurs. 
> Change in pom.xml to wicket 1.5.3 and repeat, code works as expected.
> Thanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (WICKET-4395) Code using jolira stateless broken on upgrade from 1.5.3 to 1.5.4, snapshot

Posted by "Serban Balamaci (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Serban Balamaci updated WICKET-4395:
------------------------------------

    Attachment: stateless-qs.tar.gz

quickstart
                
> Code using jolira stateless broken on upgrade from 1.5.3 to 1.5.4, snapshot
> ---------------------------------------------------------------------------
>
>                 Key: WICKET-4395
>                 URL: https://issues.apache.org/jira/browse/WICKET-4395
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.4
>            Reporter: Serban Balamaci
>         Attachments: stateless-qs.tar.gz
>
>
> I have created quickstart. 
> Click on the "Product link" in home page then on next page the "Click stateless link". Exception occurs. 
> Change in pom.xml to wicket 1.5.3 and repeat, code works as expected.
> Thanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (WICKET-4395) Code using jolira stateless broken on upgrade from 1.5.3 to 1.5.4, snapshot

Posted by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4395?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4395.
-------------------------------------

    Resolution: Not A Problem

The problem is in Jolira's StatelessLink now.
With WICKET-4290 we reworked the url generation for stateless handlers.

A simple fix for your app (in ProductPage.java):

 StatelessAjaxFallbackLink lnk = new StatelessAjaxFallbackLink("stateless-lnk", pageParameters) {
            @Override
            public void onClick(AjaxRequestTarget target) {
                System.out.println("This is working in 1.5.3 and broken in 1.5.4 and 1.5-snapshot");
            }

// THIS IS NEW
	        @Override
	        protected CharSequence getURL()
	        {
		        return urlFor(ILinkListener.INTERFACE, getPage().getPageParameters());
	        }
        };
                
> Code using jolira stateless broken on upgrade from 1.5.3 to 1.5.4, snapshot
> ---------------------------------------------------------------------------
>
>                 Key: WICKET-4395
>                 URL: https://issues.apache.org/jira/browse/WICKET-4395
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.4
>            Reporter: Serban Balamaci
>         Attachments: stateless-qs.tar.gz
>
>
> I have created quickstart. 
> Click on the "Product link" in home page then on next page the "Click stateless link". Exception occurs. 
> Change in pom.xml to wicket 1.5.3 and repeat, code works as expected.
> Thanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira