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
Judy Guglielmin
created issue -
Judy Guglielmin
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Ken Fyten [ ken.fyten ] |
Ken Fyten
made changes -
Assignee | Ken Fyten [ ken.fyten ] | Judy Guglielmin [ judy.guglielmin ] |
Fix Version/s | EE-4.0.0.GA [ 11171 ] | |
Fix Version/s | EE-3.3.0.GA_P03 [ 11572 ] | |
Assignee Priority | P2 [ 10011 ] |
Ken Fyten
made changes -
Assignee | Judy Guglielmin [ judy.guglielmin ] | Arturo Zambrano [ artzambrano ] |
Arturo Zambrano
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Security | Private [ 10001 ] |
Ken Fyten
made changes -
Fix Version/s | 4.1 [ 11375 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
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.