[GH-ISSUE #563] [UI] Extracting pages shows wrong node list on the target #438

Closed
opened 2026-02-25 21:31:55 +03:00 by kerem · 1 comment
Owner

Originally created by @ciur on GitHub (Dec 2, 2023).
Original GitHub issue: https://github.com/ciur/papermerge/issues/563

Originally assigned to: @ciur on GitHub.

Docker Image: 3.0dev15

Steps to Reproduce:

In order to reproduce the bug, open UI in two pane mode: viewer on the left and commander on the right.
Set as target folder as some folder in home. For better illustration make sure the target folder is empty but inbox folder
has lots of nodes (documents or folders).
In left panel (which has as root - inbox folder) open some document from the inbox. On the right panel, open target folder (make sure it is empty).
Select some pages from the document viewer (in left penel) and drop them on the right panel (commander).
Check "extract each page into separate document".

Expected: The target folder show extracted pages
Actual: The target folder now shows all nodes (documents/folders) of the inbox!

Discussion:
The "messed up node list on the target" is just frontend issue as after refreshing (in UI) the target folder - it will contain
the correct file list (extracted pages).

extract-pages-messes-up-target-folder-node-list

Originally created by @ciur on GitHub (Dec 2, 2023). Original GitHub issue: https://github.com/ciur/papermerge/issues/563 Originally assigned to: @ciur on GitHub. **Docker Image**: [3.0dev15](https://hub.docker.com/layers/papermerge/papermerge/3.0dev15/images/sha256-4c3357d0665c619ce2cb7cb6092470342083cfc5f39f887f3e4fe037a1dd4afc) **Steps to Reproduce**: In order to reproduce the bug, open UI in two pane mode: viewer on the left and commander on the right. Set as target folder as some folder in home. For better illustration make sure the target folder is empty but inbox folder has lots of nodes (documents or folders). In left panel (which has as root - inbox folder) open some document from the inbox. On the right panel, open target folder (make sure it is empty). Select some pages from the document viewer (in left penel) and drop them on the right panel (commander). Check "extract each page into separate document". **Expected**: The target folder show extracted pages **Actual**: The target folder now shows all nodes (documents/folders) of the inbox! **Discussion**: The "messed up node list on the target" is just frontend issue as after refreshing (in UI) the target folder - it will contain the correct file list (extracted pages). ![extract-pages-messes-up-target-folder-node-list](https://github.com/ciur/papermerge/assets/24827601/29bf8534-defa-462f-b090-fb8b4e9dd1e5)
kerem 2026-02-25 21:31:55 +03:00
Author
Owner

@ciur commented on GitHub (Dec 2, 2023):

Continuing the above scenario, if you select all but one page and extract them, the result is as in picture below :

Screenshot from 2023-12-02 07-46-08

<!-- gh-comment-id:1837063839 --> @ciur commented on GitHub (Dec 2, 2023): Continuing the above scenario, if you select all but one page and extract them, the result is as in picture below : ![Screenshot from 2023-12-02 07-46-08](https://github.com/ciur/papermerge/assets/24827601/3d0eaad5-1f30-4584-8c95-443eb5ed5d90)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#438
No description provided.