[JBoss JIRA] Created: (RF-10834) File upload: default labels not used
by Pavol Pitonak (JIRA)
File upload: default labels not used
-------------------------------------
Key: RF-10834
URL: https://issues.jboss.org/browse/RF-10834
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.0.0.Final
Environment: RichFaces 4.1.0-SNAPSHOT r.22320
Metamer 4.1.0-SNAPSHOT r.22342
Mojarra 2.1.0-FCS
GlassFish Server Open Source Edition 3.1-SNAPSHOT
OpenJDK Runtime Environment 1.6.0_20-b20 @ Linux
Chrome 10.0.648.204 @ Linux x86_64
Reporter: Pavol Pitonak
Attachments: fileUpload.png
When a label in file upload is set to EL which evaluates to null, no label is present but default label should be used.
{code:xml}
<rich:fileUpload addLabel=#{bean.somethingEvaluatedToNull} />
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months
[JBoss JIRA] Created: (RF-10822) graphValidator: java.lang.CloneNotSupportedException on GAE when bean implements Clonable interface
by Gleb Galkin (JIRA)
graphValidator: java.lang.CloneNotSupportedException on GAE when bean implements Clonable interface
---------------------------------------------------------------------------------------------------
Key: RF-10822
URL: https://issues.jboss.org/browse/RF-10822
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component, component-validators
Affects Versions: 4.0.1.Milestone1
Reporter: Gleb Galkin
Assignee: Alexander Smirnov
When user bean implements Clonable interface without overriding clone() method it causes java.lang.CloneNotSupportedException on GAE because of security restrictions.
There are 2 ways to resolve this issue:
1. let user implement clone() method in her bean and remove AbstractGraphValidator#getCloneMethod(Class<?> clazz) method
2. add catch block to the AbstractGraphValidator#getCloneMethod(Class<?> clazz) and throw SecurityException that should be handled by user
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 9 months