The Document Pagination panel is not correct when the user tries to open multiple documents whose one is a document with attachments.
The documents don't appear in the correct order, and the first selected is not always the 1.
Note that there's no desync between the pagination panel and the displayed document
Observed behavior
In each scenario, we opened two different documents.
Documents |
Document Pagination Panel |
QA URL |
image1 / image2 |
the panel has the correct order and the selected one is 1 |
https://dev-previewer-int-arender-qa.apps.va.nuxeocloud.com/?documentId=default,d90a0244-3b4f-49fe-ab11-2a3328a8875b,file:content,6cdd2bde2188a6a198c8dbf6c11122eb&documentId=default,54c2e726-1671-43c7-b4c4-63647df0cc68,file:content,6cdd2bde2188a6a198c8dbf6c11122eb |
image2 / image1 |
the panel has the correct order and the selected one is 1 |
https://dev-previewer-int-arender-qa.apps.va.nuxeocloud.com/?documentId=default,54c2e726-1671-43c7-b4c4-63647df0cc68,file:content,6cdd2bde2188a6a198c8dbf6c11122eb&documentId=default,d90a0244-3b4f-49fe-ab11-2a3328a8875b,file:content,6cdd2bde2188a6a198c8dbf6c11122eb |
image1 / zip1 |
the panel has the correct order and the selected one is 1 |
https://dev-previewer-int-arender-qa.apps.va.nuxeocloud.com/?documentId=default,54c2e726-1671-43c7-b4c4-63647df0cc68,file:content,6cdd2bde2188a6a198c8dbf6c11122eb&documentId=default,a6a0b268-84ae-4530-862d-df2f4170eae6,file:content,6cdd2bde2188a6a198c8dbf6c11122eb |
zip1 / image1 |
the panel doesn't have the correct order and the selected one is 2 |
https://dev-previewer-int-arender-qa.apps.va.nuxeocloud.com/?documentId=default,a6a0b268-84ae-4530-862d-df2f4170eae6,file:content,6cdd2bde2188a6a198c8dbf6c11122eb&documentId=default,54c2e726-1671-43c7-b4c4-63647df0cc68,file:content,6cdd2bde2188a6a198c8dbf6c11122eb |
Note that when displaying two mails, the second one is selected/displayed.
Expected behavior
The Document Pagination panel should respect the order of given documents and the selected/displayed document should be the first one.