Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0.BETA
-
Fix Version/s: 4.0
-
Component/s: MOBI-Components
-
Labels:None
-
Environment:Icefaces 4 trunk, mobi:sms tld doc
-
Assignee Priority:P2
-
Affects:Documentation (User Guide, Ref. Guide, etc.)
Description
Please change "message" and "number" attributes to Required.
These attributes are shown as not Required in the tld doc for mobi:sms. When the attributes are not included in the component an http status 500 error appears:
java.lang.NullPointerException org.icefaces.mobi.component.sms.SmsRenderer.escapeString(SmsRenderer.java:78) org.icefaces.mobi.component.sms.SmsRenderer.encodeEnd(SmsRenderer.java:57) javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919) javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
These attributes are shown as not Required in the tld doc for mobi:sms. When the attributes are not included in the component an http status 500 error appears:
java.lang.NullPointerException org.icefaces.mobi.component.sms.SmsRenderer.escapeString(SmsRenderer.java:78) org.icefaces.mobi.component.sms.SmsRenderer.encodeEnd(SmsRenderer.java:57) javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919) javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863)
Activity
Liana Munroe
created issue -
Liana Munroe
made changes -
Field | Original Value | New Value |
---|---|---|
Description |
Please change "message" and "number attributes to Required.
These attributes are shown as not Required in the tld doc for mobi:sms. When the attributes are not included in the component an http status 500 error appears: java.lang.NullPointerException org.icefaces.mobi.component.sms.SmsRenderer.escapeString(SmsRenderer.java:78) org.icefaces.mobi.component.sms.SmsRenderer.encodeEnd(SmsRenderer.java:57) javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919) javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863) |
Please change "message" and "number" attributes to Required.
These attributes are shown as not Required in the tld doc for mobi:sms. When the attributes are not included in the component an http status 500 error appears: java.lang.NullPointerException org.icefaces.mobi.component.sms.SmsRenderer.escapeString(SmsRenderer.java:78) org.icefaces.mobi.component.sms.SmsRenderer.encodeEnd(SmsRenderer.java:57) javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919) javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863) |
Ken Fyten
made changes -
Summary | mobi:sms tld doc requires update | mobi:sms "message" and "number" attributes should be required. |
Assignee | Judy Guglielmin [ judy.guglielmin ] | |
Fix Version/s | 4.0 [ 11382 ] | |
Affects Version/s | 4.0.BETA [ 10770 ] | |
Affects | Documentation (User Guide, Ref. Guide, etc.) [ 10003 ] | |
Assignee Priority | P2 [ 10011 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #42320 | Thu Aug 28 09:03:36 MDT 2014 | judy.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/sms/SmsRenderer.java
MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/sms/SmsMeta.java |
Judy Guglielmin
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Judy Guglielmin
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Ken Fyten
made changes -
Security | Private [ 10001 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #42323 | Thu Aug 28 11:10:00 MDT 2014 | judy.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/sms/SmsRenderer.java
|
Judy Guglielmin
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Basically if a number or message is null, then a message is logged to server log and a Faces Message will be posted to the component:-
{smsBean.number}<h3> another form to test sms without message</h3>
<h:form id="test2">
<mobi:fieldsetGroup>
<mobi:fieldsetRow>
No message
</mobi:fieldsetRow>
<mobi:fieldsetRow>
<mobi:sms id="smsButton" number="#
"/>
<h:message for="smsButton"/>
</mobi:fieldsetRow>
</mobi:fieldsetGroup>
</h:form>
for testing....