Uploaded image for project: 'Nuxeo Elements'
  1. Nuxeo Elements
  2. ELEMENTS-1202

Fix update of multivalued hierarchical vocabulary field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.4.29, 3.0.1-SNAPSHOT
    • Fix Version/s: 2.4.30, 3.0.1
    • Component/s: Widgets
    • Release Notes Summary:
      Update of multivalued hierarchical vocabulary field includes the parent field
    • Backlog priority:
      900
    • Sprint:
      UI - 2020-06 3, UI - 2020-07 1

      Description

      Steps to reproduce:

      1. Log in at https://nightly.nuxeo.com/nuxeo/
      2. Navigate to a document, https://nightly.nuxeo.com/nuxeo/ui/#!/browse/default-domain/workspaces/Sample%20Content/PDF%20and%20Office%20Documents/Sample%20PDF%20File.pdf for example
      3. Edit the document
      4. Choose "Art history" for the Subjects field
      5. Save
      6. Edit the document a second time
      7. Choose "Literature" for the Subjects field
      8. Save
      9. Run the JSON export
      10. Observe that the parent is missing for the "Art History" value as in this excerpt
            "dc:subjects": [
              "art history",
              "art/literature"
            ],
        

        => we have "art history" instead of "art/art history"

      Expected behavior:
      Editing the document should keep the correct values.

        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 - 1 day, 1 hour
                  1d 1h