[
https://issues.apache.org/jira/browse/WICKET-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568534#action_12568534
]
Marat Radchenko commented on WICKET-1340:
-----------------------------------------
Ok, let's sum up.
Image should be stateful if it has Resource [either in LocalizedImageResource
or in model]. Otherwise (if it has ResourceReference [either in
LocalizedImageResource or in model]) it should be stateless. Right?
> 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.