ICEfaces
  1. ICEfaces
  2. ICE-4011

selectInputDate + popup: incorrect selections in certain scenarios

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8RC1
    • Fix Version/s: 1.8RC2, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      The main problem is that when the hour "12" is selected, if you click on a day number it doesn't get selected. Instead, the next day is selected. For example, you click on day "20", but actually day "21" is submitted and highlighted. Also, if "PM" was selected, it switches to "AM", and viceversa. This doesn't happen every time; it happens about 50% of the times you do this.

      The other bug is that when you advance many months forward and then you click on a day, the hour selected automatically changes to one hour less. For example, I'm in January 2009 and have selected day 20 and the hour selected is 11, and then I advance to May 2009 and pick any day in May, then automatically the hour changes to 10.

        Activity

        Hide
        Ken Fyten added a comment -

        These seem like they could be quirks of the datetime data-type or timezone being used. Might want to consult with Mark as he has some experience in this area.

        Show
        Ken Fyten added a comment - These seem like they could be quirks of the datetime data-type or timezone being used. Might want to consult with Mark as he has some experience in this area.
        Hide
        Adnan Durrani added a comment -

        Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\selectinputdate\SelectInputDate.java
        Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\selectinputdate\SelectInputDate.java
        Completed: At revision: 18294

        Show
        Adnan Durrani added a comment - Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\selectinputdate\SelectInputDate.java Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\selectinputdate\SelectInputDate.java Completed: At revision: 18294
        Hide
        Mandeep Hayher added a comment -

        Tested successfully with ICEFaces1.8DR1 build8, component-showcase (JSP version, all 3 browsers) on Tomcat5 server.

        Show
        Mandeep Hayher added a comment - Tested successfully with ICEFaces1.8DR1 build8, component-showcase (JSP version, all 3 browsers) on Tomcat5 server.
        Hide
        Mandeep Hayher added a comment -

        Reopening the bug because AM PM problem can be reproduced.
        1)Select any month & year
        2)select hour as 12
        3)select min as 00
        4)now try to select AM

        Note even though the user selects AM it changes back to PM. This happens all the time, 12:00AM can never be selected.

        Show
        Mandeep Hayher added a comment - Reopening the bug because AM PM problem can be reproduced. 1)Select any month & year 2)select hour as 12 3)select min as 00 4)now try to select AM Note even though the user selects AM it changes back to PM. This happens all the time, 12:00AM can never be selected.
        Hide
        Mark Collette added a comment -

        Fixed the issue of when the hour is 12, and trying to change from PM to AM, it reverting back to PM.

        Subversion 18421
        icefaces\component\src\com\icesoft\faces\component\selectinputdate\SelectInputDateRenderer.java

        Show
        Mark Collette added a comment - Fixed the issue of when the hour is 12, and trying to change from PM to AM, it reverting back to PM. Subversion 18421 icefaces\component\src\com\icesoft\faces\component\selectinputdate\SelectInputDateRenderer.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: