[JBoss JIRA] Created: (RF-6963) realworld/images: Added comments for one image are added to another in the album
by Inna Shchibrya (JIRA)
realworld/images: Added comments for one image are added to another in the album
--------------------------------------------------------------------------------
Key: RF-6963
URL: https://jira.jboss.org/jira/browse/RF-6963
Project: RichFaces
Issue Type: Bug
Components: examples
Affects Versions: 3.3.1
Environment: All browsers
Reporter: Inna Shchibrya
Assignee: Andrey Markhel
1. Login to the application.
2. Select any image with existent comment from several users.
3. Add your comment. --> Your comment with Delete comment link is added.
4. Select any image from the same album. -->The same comment is present with Delete comment link.
5. Return to the image, when you added comment and delete it. --> Comment is deleted. Several comments disappeared.
6. Add your comment again. --> Several comments disappeared but several appeared.
Expected result: Add comment by user shouldn't add to another images. All existent comments should be present, shouldn't disappear and appear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (RF-6865) ClassCastException in UIPickList.noOpConverter method getAsString()
by Anton Lisovenko (JIRA)
ClassCastException in UIPickList.noOpConverter method getAsString()
-------------------------------------------------------------------
Key: RF-6865
URL: https://jira.jboss.org/jira/browse/RF-6865
Project: RichFaces
Issue Type: Bug
Components: component
Affects Versions: 3.3.1
Environment: Windows XP, Apache Tomcat 6.0
Reporter: Anton Lisovenko
Priority: Critical
There were no such exceptions in all versions before 3.3.1.Beta. Everything worked. But in 3.3.1.Beta3 and Beta5 (other Beta were not tested), the following exception is raised when rendering rich:pickList compnent:
Here is stacktrace:
java.lang.ClassCastException: java.lang.Long
at org.richfaces.component.UIPickList$1.getAsString(UIPickList.java:98)
at org.richfaces.renderkit.PickListRenderer.encodeItem(PickListRenderer.java:343)
at org.richfaces.renderkit.PickListRenderer.encodeRows(PickListRenderer.java:282)
at org.richfaces.renderkit.PickListRenderer.encodeSourceRows(PickListRenderer.java:361)
at org.richfaces.renderkit.html.PickListRendererGen.doEncodeChildren(PickListRendererGen.java:371)
at org.richfaces.renderkit.html.PickListRendererGen.doEncodeChildren(PickListRendererGen.java:279)
at org.ajax4jsf.renderkit.RendererBase.encodeChildren(RendererBase.java:120)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:415)
at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChildren(RendererUtils.java:401)
at org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer.encodeEnd(HtmlGroupRenderer.java:71)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861)
...
The input value for the method is Long: 10. Initially the SelectItem with value 10 is passed to the method 'PickListRendererGen.encodeItem', this seems correct, and it is not clean, why the 'noOpConverter' in UIPickList calls
return (String) value;
instead of
return value.toString();
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months
[JBoss JIRA] Created: (RF-6828) Empty rich:messages breaks xhtml validation
by Samuel Mendenhall (JIRA)
Empty rich:messages breaks xhtml validation
-------------------------------------------
Key: RF-6828
URL: https://jira.jboss.org/jira/browse/RF-6828
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Reporter: Samuel Mendenhall
Priority: Minor
When using rich:messages but there is no message the generated code looks like:
<dl id="messages" class="rich-messages message" style="display: none; null"></dl>
Which breaks xhtml validation with the message:
line 168 column 106 - Error: end tag for "dl" which is not finished with cause description: "You have probably failed to include a required child element. Hence the parent element is "not finished", not complete. "
The SGML parser was being using in a validation plugin in Firefox.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 11 months