Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: EE-4.1.0.RC1, EE-4.1.0.GA, 4.2.BETA, 4.2
-
Component/s: MOBI-Components, Sample Apps
-
Labels:None
-
Environment:Tomcat 7, all browsers, showcase-mobile. Issue can be reproduced with the ICEfaces 4 public demo
-
Assignee Priority:P2
-
Affects:Compatibility/Configuration
Description
The year validation in the mobi Date and Time demo does not work properly.Typing an invalid year, as example "0015", opening the component and trying to adjust/correct the invalid year via the "+" or "-" buttons, triggers a JS error in desktop browsers.
TypeError: b.toDateString is not a function
Also, the date is not rendered in the component header, see attached screen shot.
While the js console error is easy to reproduce, the missing header in the dateTimeEntry requires specific steps to reproduce.
This can be reproduced while using the icefaces public demo.
1.) Go to http://icefaces-showcase.icesoft.org/showcase-mobile.jsf and navigate to mobi Date and Time demo.
2.) Change the Use Native control to OFF
3.) Click inside the Date entry and edit year to "0015".
4.) Click on the Date thumbnail and open component -> the date is displayed incorrectly as "Mon Nov 30 2015".
4.) Click the + or - buttons to change the year -> "b.toDateString is not a function" JS error appears in the browser console.
5.) While having the Date popup open, refresh using F5, then click the date thumbnail again to open the Date component. The date component opens up, without any date in the header
TypeError: b.toDateString is not a function
Also, the date is not rendered in the component header, see attached screen shot.
While the js console error is easy to reproduce, the missing header in the dateTimeEntry requires specific steps to reproduce.
This can be reproduced while using the icefaces public demo.
1.) Go to http://icefaces-showcase.icesoft.org/showcase-mobile.jsf and navigate to mobi Date and Time demo.
2.) Change the Use Native control to OFF
3.) Click inside the Date entry and edit year to "0015".
4.) Click on the Date thumbnail and open component -> the date is displayed incorrectly as "Mon Nov 30 2015".
4.) Click the + or - buttons to change the year -> "b.toDateString is not a function" JS error appears in the browser console.
5.) While having the Date popup open, refresh using F5, then click the date thumbnail again to open the Date component. The date component opens up, without any date in the header
Issue Links
- blocks
-
ICE-10882 mobi:dateSpinner - yearStart and yearEnd attributes not used when input element is used (onblur) rather than widget
- Closed
Activity
Liana Munroe
created issue -
Liana Munroe
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | header.png [ 22013 ] |
Liana Munroe
made changes -
Security | Private [ 10001 ] |
Ken Fyten
made changes -
Assignee | Judy Guglielmin [ judy.guglielmin ] | |
Fix Version/s | EE-4.1.0.GA [ 12171 ] | |
Priority | Major [ 3 ] | Minor [ 4 ] |
Assignee Priority | P2 [ 10011 ] |
Judy Guglielmin
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #46310 | Tue Dec 01 14:10:12 MST 2015 | judy.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/datespinner/date-example.xhtml
MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.datespinner/datespinner.js |
Liana Munroe
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Judy Guglielmin
made changes -
Judy Guglielmin
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48623 | Tue Apr 12 17:06:14 MDT 2016 | judy.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.datespinner/datespinner.js
MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/datespinner/DateSpinnerRenderer.java |
Judy Guglielmin
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Judy Guglielmin
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48633 | Fri Apr 15 13:44:29 MDT 2016 | judy.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.datespinner/datespinner.js
MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/datespinner/DateSpinnerRenderer.java |
Judy Guglielmin
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Judy Guglielmin
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48635 | Fri Apr 15 16:23:46 MDT 2016 | judy.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/datespinner/date-example.xhtml
MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.datespinner/datespinner.js MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/datespinner/DateSpinnerRenderer.java |
Judy Guglielmin
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Judy Guglielmin
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48638 | Mon Apr 18 11:30:55 MDT 2016 | judy.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/samples/showcase/showcase/src/main/webapp/resources/examples/mobi/datespinner/date-example.xhtml
|
Liana Munroe
made changes -
Attachment | time.PNG [ 22180 ] |
Liana Munroe
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Ken Fyten
made changes -
Affects | Compatibility/Configuration [ 10002 ] |
Ken Fyten
made changes -
Fix Version/s | EE-4.1.0.BETA [ 13072 ] |
Ken Fyten
made changes -
Security | Private [ 10001 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48677 | Mon May 02 11:16:19 MDT 2016 | judy.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/mobi/component/build.xml
MODIFY /icefaces4/trunk/icefaces/mobi/component/resources/org.icefaces.component.datespinner/datespinner.js MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/datespinner/DateSpinnerRenderer.java MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/resources/messages.properties ADD /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/resources/messages_en.properties MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/datespinner/DateSpinnerMeta.java |
Judy Guglielmin
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48678 | Mon May 02 13:11:03 MDT 2016 | judy.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/timespinner/TimeSpinnerRenderer.java
|
Judy Guglielmin
made changes -
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Judy Guglielmin
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #48682 | Mon May 02 15:53:57 MDT 2016 | judy.guglielmin | |
Files Changed | ||||
MODIFY
/icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/component/datespinner/DateSpinnerRenderer.java
MODIFY /icefaces4/trunk/icefaces/mobi/component/src/org/icefaces/mobi/resources/messages.properties |
Ken Fyten
made changes -
Fix Version/s | 4.2.BETA [ 13091 ] | |
Fix Version/s | 4.2 [ 12870 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
rev 46310