[ https://issues.apache.org/jira/browse/WICKET-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568545#action_12568545 ]
Johan Compagner commented on WICKET-1340: ----------------------------------------- better would be: 1> an Image is statefull it the LocalizedImageResource doesnt have a ResourceReference (to a null or to a current resource) 2> if Image is empty then most likely a ResourceReference is generated (and <1> applies) but a Resource could be generated in one spefic case (ImageFactory) then it is statefull > Bogus LocalizedImageResource#isStateless() > ------------------------------------------ > > Key: WICKET-1340 > URL: https://issues.apache.org/jira/browse/WICKET-1340 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.3.0-final, 1.3.1 > Reporter: Marat Radchenko > Assignee: Johan Compagner > Fix For: 1.3.2 > > Attachments: Image2Test.java, ImageTest.java > > > Image without resource/resource reference should be stateless. > Bug is located in LocalizedImageResource#isStateless(), which should read > "return resourceReference == null;" > Test case is attached. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.