Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-3527

When importing a CSV file in a vocabulary, check for duplicate IDs

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Vocabularies

      Description

      It is possible to import in a vocabulary a CSV file that has duplicate IDs.

      Then, at runtime in nuxeo server, when the vocabulary is created, an error occurred because:

      ERROR: duplicate key value violates unique constraint "studio_vocabulary_brand_pk"
      
      

      Studio should check for duplicates.

      Once the faulty Studio project is installed, to fix the problem:
      -> Fix the duplicate(s) in the vocabulary
      -> Stop the server
      -> Explicitly remove the package of the project (mp-remove)
      -> Start Nuxeo
      -> Hot reload

        Attachments

          Activity

            People

            • Assignee:
              targuillere Thibaud Arguillere
              Reporter:
              targuillere Thibaud Arguillere
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: