Skip to content

Approval 3.2.1 incompatible with Nextcloud 33: approve/reject fails due to deprecated QueryBuilder API #410

Description

@tamburro92

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions