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

Support new directory init modes in Studio

    XMLWordPrintable

    Details

      Description

      Description

      NXP-27877 will bring new directory init modes.
      They need to be implemented in Studio as well.

      The goal is to propose in Studio those new modes where the creation policy can be configure:

      • Vocabularies
      • Users & Groups

      When and only when a user selects the creation policy "Don't override existing values", there is an additional listbox display to select among the following options:

      • update duplicates
      • ignore duplicates
      • error on duplicates

      Acceptance criteria

      Given I'm a Studio user
      And I go to the Vocabularies menu
      And I select an existing vocabulary
      When I select the creation policy "Don't override missing values"
      Then another listbox is displayed
      And I can select among the 3 options "update duplicates", "ignore duplicates", and "error on duplicates"

      Given I'm a Studio user
      And I go to the Vocabularies menu
      And I select the creation policy "Don't override missing values"
      And I select the "error on duplicates" option
      When I change back the creation policy to "Always"
      And I restart my Nuxeo Server
      Then the "error on duplicates" option was not taken into account
      And the vocabulary is created even if there are some duplicates

      Given I'm a Studio user
      And I go to the Vocabularies menu
      And I create a new vocabulary
      And I select the creation policy "Don't override missing values"
      When I import new entries including duplicates using import CSV,
      Then all entries are added to the vocabulary whatever is the option I selected

      Given I'm a Studio user
      And I go to the Vocabularies menu
      And I select an existing vocabulary
      And I select the creation policy "Don't override missing values"
      When I select the option "update duplicates"
      And I import new entries including duplicates using import CSV,
      Then the new entries are added to the vocabulary
      And the duplicates are updated

      Given I'm a Studio user
      And I go to the Vocabularies menu
      And I select an existing vocabulary
      And I select the creation policy "Don't override missing values"
      When I select the option "ignore duplicates"
      And I import new entries including duplicates using import CSV,
      Then the new entries are added to the vocabulary
      And the duplicates are NOT updated NOR added

      Given I'm a Studio user
      And I go to the Vocabularies menu
      And I select an existing vocabulary
      And I select the creation policy "Don't override missing values"
      When I select the option "error on duplicates"
      And I import new entries including duplicates using import CSV,
      Then the new entries are NOT added to the vocabulary
      And the duplicates are NOT updated NOR added

      Given I'm a Studio user
      And I go to the "Roles & Permissions"/"Users & Groups" menu
      When I select the creation policy "Don't override missing values"
      Then another listbox is displayed
      And I can select among the 3 options "update duplicates", "ignore duplicates", and "error on duplicates"

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 1 hour
                  2d 1h