Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20222

Fix disappearance of parent entry in hierarchical vocabularies when renamed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10, 8.3
    • Fix Version/s: 7.10-HF35, 8.10-HF21
    • Component/s: Directory
    • Release Notes Summary:
      Parent entries renamed in hierarchical vocabularies are now visible
    • Backlog priority:
      400
    • Sprint:
      nxAT Sprint 9.1.2, nxfit 9.10.2
    • Story Points:
      1

      Description

      1. deploy the attached jar
      2. check the DB table (should be named studio_vocabulary_voc_TypeDoc, see screenshot DB_before.png)
      3. create a document of type testDocument
      4. select a Multiple chained Vocabulary (for example Parent1/Enfant1)
      5. save
      6. click on Admin / Vocabularies
      7. rename the parent entry named Parent1 to Parent1b
      8. go to the previously created document
      9. in the Summary tab, the value(s) is(are) correctly displayed
      10. click the Edit tab
      11. the value(s) containing the modified parent entry is/are missing
      12. check the DB table, the 2 single quotes are now missing (see dbAfter.png)
      13. update the parent character varying column and set back the 2 single quotes characters
      14. click the Edit tab
      15. the value is now visible again

        Attachments

        1. dbAfter.png
          55 kB
          Frantz Fischer
        2. dbBefore.png
          55 kB
          Frantz Fischer

          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 - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h