Steps to reproduce
Enable Approval app (v3.2.1) on Nextcloud 33.0.2
Create or receive a file requiring approval
Try to approve or reject the request
Expected behaviour
The approval/rejection action completes successfully.
Actual behaviour
Action fails and UI shows:
“The file/folder you tried to reject has an outdated content, please reload and review it again”
Server log shows a deprecated API usage causing the failure:
Deprecated call to OC\DB\QueryBuilder\QueryBuilder::resetQueryParts
Stack trace points to:
apps-writable/approval/lib/Service/RuleService.php:445
Server configuration
Docker dev
Nextcloud version: 33.0.2
Approval app version: 3.2.1
Additional context
The issue appears to be caused by usage of deprecated resetQueryParts() which is no longer supported in Nextcloud 33. This breaks the approval action and results in a misleading “outdated content” error in the UI.
Steps to reproduce
Enable Approval app (v3.2.1) on Nextcloud 33.0.2
Create or receive a file requiring approval
Try to approve or reject the request
Expected behaviour
The approval/rejection action completes successfully.
Actual behaviour
Action fails and UI shows:
“The file/folder you tried to reject has an outdated content, please reload and review it again”
Server log shows a deprecated API usage causing the failure:
Deprecated call to OC\DB\QueryBuilder\QueryBuilder::resetQueryParts
Stack trace points to:
apps-writable/approval/lib/Service/RuleService.php:445
Server configuration
Docker dev
Nextcloud version: 33.0.2
Approval app version: 3.2.1
Additional context
The issue appears to be caused by usage of deprecated resetQueryParts() which is no longer supported in Nextcloud 33. This breaks the approval action and results in a misleading “outdated content” error in the UI.