-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.19
-
Component/s: Preview
-
Release Notes Summary:Preview is correctly displayed for custom properties when using the nuxeo-document-preview element
-
Tags:
-
Backlog priority:900
-
Sprint:UI - 2023-6, UI COOLDOWN - 2023-5
-
Story Points:5
Steps to reproduce:
We want to display the preview of a custom blob from a document returned by an operation : the code below tries to display the preview for the blob stored in the metadata other:file
<nuxeo-operation op="Context.FetchDocument" input="[[document]]" response="{{returnedDoc}}" enrichers="preview"></nuxeo-operation> <nuxeo-document-preview document="[[returnedDoc]]" xpath="other:file"></nuxeo-document-preview>
Observed behavior: the preview fails because nuxeo-document-preview> cannot find a value for the key viewUrl : https://github.com/nuxeo/nuxeo-elements/blob/cbf26a8cec73894fbf5a79ac812e77a9b45a2ae2/ui/nuxeo-document-preview.js#L354).
Expected behavior: the preview is correctly displayed for this custom blob property
- is related to
-
ELEMENTS-1624 Unable to preview custom blobs
- Resolved
-
WEBUI-1173 Prevent replacing or removing custom files under retention shown with nuxeo-document-preview
- Resolved
- links to
1.
|
QA-task | Resolved | pranit.sadashivsotre@contractors.onbase.com |