Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-Beta
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Tomcat 6, all major browsers (IE7, IE8, FF6, Gchrome14); grimlock code rev # 25676
-
Assignee Priority:P2
Description
When loading the calendarAttribute page of the calendar test application (calendar.war attached) :
- by default, renderAsPopup = true when first loading the page, and it displays today's date in the date input entry (correct); when clicking in the date input entry, the calendar renders in a popup but the date changes to 2017, May or June, the exact date is not consistent.
- If unselecting the check box to change renderAsPopup = false, the inline calendar displays a date in the future (year 2017) instead of the current date.
The rendered date in the popup calendar was different when testing on different browsers, and it was not consistent when testing with the same browser; as example:
IE8: May 25, 2017
FF6: June 17, 2017
FF3.6: June 20, 2017
To reproduce the issue:
- deploy attached calendar.war file.
- navigate to the page: http://localhost:8080/calendar/calendarAttribute.jsf
- click in the date input entry where the current date is rendered.
- by default, renderAsPopup = true when first loading the page, and it displays today's date in the date input entry (correct); when clicking in the date input entry, the calendar renders in a popup but the date changes to 2017, May or June, the exact date is not consistent.
- If unselecting the check box to change renderAsPopup = false, the inline calendar displays a date in the future (year 2017) instead of the current date.
The rendered date in the popup calendar was different when testing on different browsers, and it was not consistent when testing with the same browser; as example:
IE8: May 25, 2017
FF6: June 17, 2017
FF3.6: June 20, 2017
To reproduce the issue:
- deploy attached calendar.war file.
- navigate to the page: http://localhost:8080/calendar/calendarAttribute.jsf
- click in the date input entry where the current date is rendered.
-
Hide
- calendar.war
- 6.30 MB
- Carmen Cristurean
-
- META-INF/MANIFEST.MF 0.1 kB
- WEB-INF/classes/.../CalendarBean.class 4 kB
- WEB-INF/.../CalendarRepeatBean$Calendar.class 0.6 kB
- WEB-INF/classes/.../CalendarRepeatBean.class 0.7 kB
- WEB-INF/.../CalendarSubmitFormBean.class 0.7 kB
- WEB-INF/classes/.../CalendarTableBean.class 0.8 kB
- WEB-INF/.../CalendarWithPush$Calendar.class 0.7 kB
- WEB-INF/classes/.../CalendarWithPush.class 2 kB
- WEB-INF/classes/.../CompatTabset.class 1.0 kB
- WEB-INF/.../NestedContainers$Calendar.class 1 kB
- WEB-INF/classes/.../NestedContainers.class 1.0 kB
- WEB-INF/classes/.../SparkleTabset.class 1 kB
- WEB-INF/.../UpdateTableBottom$Calendar.class 0.7 kB
- WEB-INF/classes/.../UpdateTableBottom.class 1 kB
- WEB-INF/.../UpdateTableTop$Calendar.class 0.7 kB
- WEB-INF/classes/.../UpdateTableTop.class 1 kB
- WEB-INF/faces-config.xml 2 kB
- WEB-INF/web.xml 3 kB
- addBottomRow.xhtml 2 kB
- addTopRow.xhtml 3 kB
- annTabset.xhtml 3 kB
- calendar.xhtml 5 kB
- calendarAttribute.xhtml 6 kB
- calendarAttribute.xhtml.bak 6 kB
- calendarRepeat.xhtml 2 kB
- calendarSingleSubmit.xhtml 2 kB
- calendarTable.xhtml 1 kB
- calendarWithPush.xhtml 2 kB
- iceTabset.xhtml 4 kB
- images/cal_button.gif 1 kB
-
- dateTimeEntry-Popup.png
- 112 kB
Issue Links
- is duplicated by
-
ICE-7315 dateTimeEntry displays incorrect month
- Closed
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Calendar - location:
http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/calendar
Show
Carmen Cristurean
added a comment - Calendar - location:
http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/calendar
This is caused by the upgrade of jquery-ui.js (1.8.11 => 1.8.16; 238 differences) in ICE-7180. Issue disappears if we revert back to version 1.8.11.
(I wonder how many other hidden problems this upgrade has caused, for calendar and for other components.)
Revision: 25884
Modified : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/resources/icefaces.ace/calendar/calendar.js
Fix has been verified in all major browsers (IE7/8, FF3.6, Chrome 15) with code revision # 27114.
Show
Carmen Cristurean
added a comment - Fix has been verified in all major browsers (IE7/8, FF3.6, Chrome 15) with code revision # 27114.
This issue occurs when using a DateFormat pattern which includes hours and minutes "MMM/dd/yyyy HH:mm".
If using the default DateFormat pattern "MM/dd/yyyy", the dateTimeEntry component renders the correct date in a popup.