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

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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: