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

Fix display of nuxeo-document-suggestion when the stored value corresponds to a non-visible document

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.2
    • Fix Version/s: 2.4.5, 3.0.0
    • Component/s: Widgets
    • Release Notes Summary:
      The nuxeo-document-suggestion element correctly displays non visible documents.
    • Tags:
    • Backlog priority:
      700
    • Sprint:
      nxGang Sprint 11.1.6
    • Story Points:
      2

      Description

      This ticket is related to ELEMENTS-860 where nuxeo-document-suggestion had a bug when one of the values stored in a multi-valued metadata was deleted. This bug has been correctly fixed, now the problem is with a single Document metadata.

      Steps to reproduce

      1. Deploy the attached jar to nxserver/plugins
      2. Log in as user JDOE
      3. Go to a Workspace or to the JDOE's workspace
      4. Create a Document "Suggest Doc" and select 1 document for the "mydoc" field: Templates
      5. Log in as Administrator
      6. Block permissions for everyone on the Templates document
      7. Log in as JDOE
      8. Go back to the newly created document
      9. Observe that nothing is displayed for the "mydoc" field
      10. Edit the document
      11. Observe that nothing is displayed in the suggestion field for "mydoc"

      Expected behavior:

      The nuxeo-document-suggestion element should display the id of the document which are not visible because of lack of permissions.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 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 - 3 days, 3 hours
                  3d 3h