ICEfaces
  1. ICEfaces
  2. ICE-8904

ace:dateTimeEntry - Calendar gets cleared on ajax call

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.2.0.BETA, EE-3.2.0.GA
    • Fix Version/s: EE-3.2.0.GA, 3.3
    • Component/s: ACE-Components, Bridge
    • Labels:
      None
    • Environment:
      ICEfaces 3.2.0.A 121912
    • Assignee Priority:
      P1
    • Salesforce Case Reference:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Change the ID so its not a substring of the calendar id.

      Description

      This is a bug in bridge.js which cleans up the calendars after an ajax call. The algorithm now uses concatenated ID strings to store all calendar ids and uses contains function to determine whether the current id needs to cleaned up. This is problematic before "contains" does not mean exact match. Let's say one component that is updated has ID of "compID", and the page also contains a calendar with ID of "compIDCalendar" which is not in the current ajax update. The calendar will be removed after the call.
      1. Case11908Example.zip
        19 kB
        Arran Mccullough
      2. Case11908ExampleWAR.zip
        9.32 MB
        Arran Mccullough

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000QYswhAAD
        Hide
        Arran Mccullough added a comment -

        Attached test case that shows the issue.

        Steps:

        • Load welcomeICEfaces.jsf
        • Check the checkbox
        • Click the Submit button.
        • The dateTimeEntry is cleared from the form.
        Show
        Arran Mccullough added a comment - Attached test case that shows the issue. Steps: Load welcomeICEfaces.jsf Check the checkbox Click the Submit button. The dateTimeEntry is cleared from the form.
        Arran Mccullough made changes -
        Attachment Case11908Example.zip [ 15366 ]
        Attachment Case11908ExampleWAR.zip [ 15367 ]
        Arran Mccullough made changes -
        Workaround Description Change the ID so its not a substring of the calendar id.
        Workaround Exists Yes [ 10007 ]
        Ken Fyten made changes -
        Assignee Mircea Toma [ mircea.toma ]
        Fix Version/s EE-3.2.0.GA [ 10332 ]
        Fix Version/s 3.3 [ 10370 ]
        Assignee Priority P1 [ 10010 ]
        Hide
        Mircea Toma added a comment -

        This is a duplicate issue for ICE-8886.

        Show
        Mircea Toma added a comment - This is a duplicate issue for ICE-8886.
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Summary ace:dateTimEntry - Calendar gets cleared on ajax call ace:dateTimeEntry - Calendar gets cleared on ajax call
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Arran Mccullough
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: