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

        Arturo Zambrano created issue -
        Arturo Zambrano made changes -
        Field Original Value New Value
        Assignee Adnan Durrani [ adnan.durrani ]
        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.
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 1.8RC1 [ 10143 ]
        Assignee Priority P2
        Affects Version/s 1.8RC1 [ 10143 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18294 Thu Feb 05 17:11:44 MST 2009 adnan.durrani Fix for ICE-4011 (selectInputDate + popup: incorrect selections in certain scenarios)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputdate/SelectInputDate.java
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        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
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Mandeep Hayher made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Adnan Durrani made changes -
        Assignee Adnan Durrani [ adnan.durrani ] Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 1.8 [ 10161 ]
        Fix Version/s 1.8RC1 [ 10143 ]
        Assignee Priority P2 P1
        Assignee Ken Fyten [ ken.fyten ] Mark Collette [ mark.collette ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #18421 Tue Feb 24 15:34:29 MST 2009 mark.collette ICE-4011 : selectInputDate + popup: incorrect selections in certain scenarios
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/selectinputdate/SelectInputDateRenderer.java
        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
        Mark Collette made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.8RC2 [ 10163 ]
        Fix Version/s 1.8 [ 10161 ]
        Ken Fyten made changes -
        Fix Version/s 1.8 [ 10161 ]
        Assignee Priority P1
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Mark Collette [ mark.collette ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: