Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-10601

Fix generation of unique ids in layouts

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.6
    • Fix Version/s: 5.5.0-HF18, 5.6.0-HF07, 5.7.1
    • Component/s: None

      Description

      A duplicate id issue can happen in generated ids when dealing with "base" names ending with _[number].

      Example:

      • use a widget with name "foo" and generate a unique id for it (byt rendering it once for instance) -> "foo" will be returned
      • render this widget again -> "foo_1" will be returned
      • now render a widget with name "foo_1" -> "foo_1" will be returned

      => duplicate id issue

        Attachments

          Activity

            People

            • Assignee:
              atchertchian Anahide Tchertchian
              Reporter:
              atchertchian Anahide Tchertchian
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: