Uploaded image for project: 'ui-orders'
  1. ui-orders
  2. UIOR-244

Allow user to specify a contributor-name-type for each contributor added to POL

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Labels:
      None
    • Template:
    • Sprint:
      ACQ Sprint 67
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Purpose:

      Currently we've hardcoded the contributor-name-type to name: "Personal name" which is present in the inventory reference data (see MODORDERS-204). However, there's no guarantee that the reference data will be loaded/used by all tenants. As a result, we need to allow the tenant to specify which contributor-name-type they want to use when creating instances upon order placement.

      Approach

      contributor.json has 2 properties: contributor (any string) which is used by UI and contributorType (UUID of the type record) which is not in use. The approach is to rename contributorType to contributorNameTypeId and make it required i.e. an user should explicitly select one
      The existing contributor name types should be fetched from inventory-storage by calling GET /contributor-name-types

      Acceptance Criteria

      • The provided contributorNameTypeId uuid is used
      • User can select contributor type for each contributor
      • When pulling contributors into POL from instance contributor type is also pulled in
      • UI tests are updated

        TestRail: Results

          Attachments

          1. screen-1.png
            screen-1.png
            304 kB
          2. screen-2.png
            screen-2.png
            386 kB
          3. screen-3.png
            screen-3.png
            278 kB

            Issue Links

              Activity

                People

                Assignee:
                dennisbridges Dennis Bridges
                Reporter:
                piotr_kalashuk Piotr Kalashuk
                Tester Assignee:
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases