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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: