Rendering of state of approval is unreliable
Rendering of the approval status is quite random - sometimes all files that are not approved are flagged as rejected even if they are just waiting for approval or they are not even part of the workflow. Sometimes one has to reload the page to show approval status at all.
The following pictures show the same files in the same order after reordering for last changed twice:
Also there are constantly Files flagged as rejected wich are never where part of the approval worklflow.
This behaviour appears for Chromium and Firefox across multiple Versions.
Nextcloud is at 29.0.7
Approval is at 1.3.0
We have the same problem since we upgraded to NC 28.0.12. from NC 28.0.4 Random files are rejected after uploading them without having started an approval process. The problem can be usually fixed by reloading the page.
Running Nextcloud v30.0.5, Approval v2.1.0, and I get the following behavior after downloading a file in the first folder and then navigating back up to the parent directory while logged in as a user that is a member of a group that can approve files:
None of the folders require approvals, but files within those folders (perhaps more than one layer deep) do require approvals. The second folder and third folders in the list actually have several folders underneath them, but none have files in them currently.
If I download a file using a user that does not have access to approval workflows, then only the second folder in the list (same folder structure as first screenshot) gets shown as Rejected:
So far I can only recreate this behavior after downloading a file. Refreshing the page does fix the issue until the next time a file is downloaded.
Edit: after a little more testing, I've seen that the behavior may be linked to the number of files with approval tags in whatever folder I was in when I downloaded something. If there is only 1 file in the folder, then only the first folder shows Rejected when going up a folder in the three. If there's 2 files, then the first 2 folders show rejected. If there are 3 or more files, then all 3 folders are rejected. It seems like the Approved/Rejected state is somehow being carried over whenever the view changes. If I favorite a folder (bringing it to the top), then the favorited folder shows the Rejected tag (because it's the first row in the table).
Hi @FGS-SWirt,
I could recreate the same issue on Nextcloud v30.0.5 and Approval v2.1.0, but on the latest version of server this issue does not happen anymore. Could you check if a server update fixes or has fixed it for you?
@lukasdotcom Thanks for following up on this. I am no longer seeing this behavior. I'm not sure which version of Nextcloud first addressed the issue, but I am now running Nextcloud v31.0.5 and Approval v2.2.0.
Thanks for the response. I'll be closing this issue for now.