Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA_P02, 4.0
-
Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:jsf 2 ace
-
Assignee Priority:P2
Description
The following components have attributes that are required:-
MaskedEntryMeta:- mask has required=Required.yes
MessageMeta:- for value has Required.yes
TabSetProxyMeta:- “for” value has Required.yes
When testing MaskedEntryMeta, if mask is not present as an attribute, an NPE will occur at runtime. Renderers need to be updated to ensure this does not happen. (perhaps log a warning for Level.DEBUG to let developers know that this is a required attribute?).
MaskedEntryMeta:- mask has required=Required.yes
MessageMeta:- for value has Required.yes
TabSetProxyMeta:- “for” value has Required.yes
When testing MaskedEntryMeta, if mask is not present as an attribute, an NPE will occur at runtime. Renderers need to be updated to ensure this does not happen. (perhaps log a warning for Level.DEBUG to let developers know that this is a required attribute?).
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Committed fixes to 4.0 trunk at revision 44116 and to 3.3 EE maintenance branch at revision 44117.
The fixes are to prevent runtime exceptions and to display a warning message when required attributes are missing.
This was done for the following attributes:
Also, I verified that there are no other required attributes in all other components.
Testing notes: please verify that these warning messages appear in the server console and no runtime exceptions occur when the page is loaded. In the case of ace:dataExporter, this is tested when pressing the button.