Uploaded image for project: 'Opencast'
  1. MH-13420

ngRepeat does not allow duplicates

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed and reviewed
    • Affects versions: 6.2, 7.0
    • Fix versions: None
    • Labels:
      None
    • Severity:
      Incorrectly Functioning Without Workaround
    • Steps to reproduce:
      Hide
      Theoretically this error should not occur but for some reason should be a duplicate value present the UI would no longer be usable for that field.

      Steps to reproduce:
      1. Add a duplicate value for a multivalue field in the database and recreate the admin-ui index (e.g. the contributor field)
      2. Open the series/event details dialog
       
       Actual Results:
      The values aren't displayed.

      Console:
       Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: value in params.value, Duplicate key: string:XY, Duplicate value: XY
       
      Expected Results:
      The values are displayed.
      Show
      Theoretically this error should not occur but for some reason should be a duplicate value present the UI would no longer be usable for that field. Steps to reproduce: 1. Add a duplicate value for a multivalue field in the database and recreate the admin-ui index (e.g. the contributor field) 2. Open the series/event details dialog    Actual Results: The values aren't displayed. Console:  Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: value in params.value, Duplicate key: string:XY, Duplicate value: XY   Expected Results: The values are displayed.

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              gregor.eichelberger Gregor Eichelberger
              Reporter:
              gregor.eichelberger Gregor Eichelberger
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases