Skip to content

fix(workflowengine): report the check class in invalid check errors - #66103

Open
lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-65069-check-class-message
Open

lazerg wants to merge 1 commit into
nextcloud:masterfrom
lazerg:fix/issue-65069-check-class-message

Conversation

@lazerg

@lazerg lazerg commented Oct 31, 2026

Copy link
Copy Markdown

Summary

The "Check %s is invalid", "does not exist" and "is not allowed with this entity" errors in validateOperation() printed the operation class instead of the check class, so admins were pointed at the wrong class. They now use the check class, and I added a test for the invalid case.

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Tests are included
  • Screenshots before/after for front-end changes
  • Documentation has been updated or is not required

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Claude Code (claude-sonnet-5-5) wrote the change and test; I have not run the test suite locally.

Assisted-by: ClaudeCode:claude-sonnet-5-5
Signed-off-by: lazerg <lazerg2@gmail.com>
@lazerg
lazerg requested a review from a team as a code owner October 31, 2026 08:05
@lazerg
lazerg requested review from Altahrim, CarlSchwan, leftybournes and provokateurin and removed request for a team October 31, 2026 08:05

This branch has not been deployed

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

Labels

None yet

1 participant