ICEfaces
  1. ICEfaces
  2. ICE-7271

ace:dateTimeEntry component displays a date in the future when rendered as a popup

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-Beta
    • Fix Version/s: 2.1-Beta2, 3.0
    • 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.

        Issue Links

          Activity

          Carmen Cristurean created issue -
          Carmen Cristurean made changes -
          Field Original Value New Value
          Attachment calendar.war [ 13580 ]
          Carmen Cristurean made changes -
          Attachment dateTimeEntry-Popup.png [ 13581 ]
          Carmen Cristurean made changes -
          Environment Tomcat 6, all major browsers (IE7, IE8, FF6, Gchrome14)
          Tomcat 6, all major browsers (IE7, IE8, FF6, Gchrome14); grimlock code rev # 25676
          Salesforce Case []
          Ken Fyten made changes -
          Salesforce Case []
          Fix Version/s 2.1 [ 10241 ]
          Assignee Priority P2
          Assignee yip.ng [ yip.ng ]
          Hide
          Carmen Cristurean added a comment -

          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.

          Show
          Carmen Cristurean added a comment - 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.
          Hide
          yip.ng added a comment -

          Where is the test app. in svn?

          Show
          yip.ng added a comment - Where is the test app. in svn?
          Show
          Carmen Cristurean added a comment - Calendar - location: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/calendar
          Hide
          yip.ng added a comment - - edited

          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.)

          Show
          yip.ng added a comment - - edited 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.)
          Hide
          yip.ng added a comment -

          Revision: 25884


          Modified : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/resources/icefaces.ace/calendar/calendar.js

          Show
          yip.ng added a comment - Revision: 25884 Modified : /icefaces-ee/scratchpads/grimlock/icefaces/ace/component/resources/icefaces.ace/calendar/calendar.js
          yip.ng made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          yip.ng made changes -
          Link This issue is duplicated by ICE-7315 [ ICE-7315 ]
          Ken Fyten made changes -
          Fix Version/s 2.1-Beta2 [ 10294 ]
          Ken Fyten made changes -
          Salesforce Case []
          Affects Version/s 2.1-Beta [ 10291 ]
          Affects Version/s 2.1 [ 10241 ]
          Security Private [ 10001 ]
          Hide
          Carmen Cristurean added a comment -

          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.
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              yip.ng
              Reporter:
              Carmen Cristurean
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: