-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.4.0
-
Component/s: Widgets
-
Release Notes Summary:nuxeo-document-suggestion can display deleted documents.
-
Backlog priority:700
-
Browser:
-
Sprint:nxGang Sprint 11.1.3
-
Story Points:2
Steps to reproduce
- Deploy the attached jar to nxserver/plugins
- Go to a Workspace or to the Admin workspace
- Create a Document "Suggest Doc" and select 3 documents for the "docus" field: Templates, Workspaces and Sections
- Go to the Domain and delete the Sections document. Then empty the trash
- Go back to the newly created document
- Observe that nothing is displayed for the "docus" field
- Edit the document
- Observe that nothing is displayed in the suggestion field for "docus"
Expected behavior:
At least, the suggestion field should display the values which correspond to non -deleted documents. Note that a similar problem may happen if the current user cannot read one of the target documents.
A better solution would be to display a little icon to inform that the target document has been deleted or is not accessible (permission restriction) if it's possible to make this distinction.
- is related to
-
ELEMENTS-875 Nuxeo Elements handling deleted documents
- Open
-
ELEMENTS-897 Fix display of nuxeo-document-suggestion when the stored value corresponds to a non-visible document
- Resolved
- Is referenced in