ICEfaces
  1. ICEfaces
  2. ICE-10059

showcase - ace:dateTimeEntry - Date Only demo failure (WAS 8.5.5.1/GlassFish 4.0)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: EE-3.3.0.GA_P02, 4.0
    • Fix Version/s: EE-4.0.0.GA, EE-3.3.0.GA_P03, 4.1
    • Component/s: ACE-Components, Sample Apps
    • Labels:
      None
    • Environment:
      EE_3.3.0_P02 tag Build7
      Server: WebSphere 8.5.5.1 (this is not an issue on Tomcat7)
      Browsers: all
      Application: showcase
    • Assignee Priority:
      P2

      Description

      dateTimeEntry > Time Entry: after moving the Hour and Minute sliders and submitting the updated time, on the "Date Only" calendar the submitted date is incorrect and decreases by 1 on each submit.

      Steps:
      - on the dateTimeEntry > Time Entry demo, select "Time and Date" or "Time Only" calendar option.
      - move the "Hour" and "Minute" sliders to far right, and submit -> time is updated accordingly.
      - go to "Date Only" calendar and select a date (as example June 14), then submit -> the date rendered on page is updated incorrectly to the selected date minus 1 (for the sample date provided to June 13, 2014).
      - click "Submit" again without any other date changes -> the rendered date on page is decreased by 1, to June 12, 2014, and so on.

      This issue does not occur if the Hour and Minutes sliders are not moved.

        Activity

        Hide
        Carmen Cristurean added a comment -

        Also an issue on GlassFish 4.0 with IF4 trunk rev.41833.

        Show
        Carmen Cristurean added a comment - Also an issue on GlassFish 4.0 with IF4 trunk rev.41833.
        Hide
        Mircea Toma added a comment - - edited

        Modified DateTimeBean.setSelectedDate method to avoid using the Calendar API when updating the selected date. The reason is that the Calendar keeps incrementing the date when the hour of the day is 11:59pm.

        Show
        Mircea Toma added a comment - - edited Modified DateTimeBean.setSelectedDate method to avoid using the Calendar API when updating the selected date. The reason is that the Calendar keeps incrementing the date when the hour of the day is 11:59pm.
        Hide
        Liana Munroe added a comment -

        Verified ICEfaces 4 trunk r43850 using Glassfish 4, and ee-3.3.0 GA maintenance branch using WAS 8.5.5.1. IE 11, FF 33, Chrome 39.

        Show
        Liana Munroe added a comment - Verified ICEfaces 4 trunk r43850 using Glassfish 4, and ee-3.3.0 GA maintenance branch using WAS 8.5.5.1. IE 11, FF 33, Chrome 39.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: