Error message not readable for agent-user

  • Used Zammad version: 6.4.1
  • Operating system: Ubuntu
  • Browser: Firefox, Edge

Expected behavior:

I’ve created a Workflow to set a field “category” mandatory if a condition is met.
This is working as expected:
When I edit a ticket as an administrator and the condition is met, I receive a meaningful error message:
“Missing required value for field ‘category’!”

Actual behavior:

But if I edit a ticket as an agent and the condition is met, I receive an error message with an ID:
“Error ID sN4zW4Rq: Please contact your administrator.”

This is not helpful, the agent does not know, what is wrong.
Why does the system behave differently when I edit a ticket as an administrator or as an agent?
How can the agent be shown the correct error message?

Steps to reproduce the behavior:

The special thing about my use case is that the ticket update is done via a macro.
If I edit the ticket normally through the user interface, Zammad highlights the corresponding field and provides a notice that it must contain a value.

You can check the details of the error like this:

grep "sN4zW4Rq" -A10 /opt/zammad/log/production.log

Is it the same error ? Like missing value of category field? Then it might be a bug.

While the error message “Error ID sN4zW4Rq: Please contact your administrator.” appears on the user interface, the following is recorded in the logfile:
“Error ID sN4zW4Rq: Missing required value for field ‘category’!”

Every time I edit the ticket and the error message appears, it has a different Error ID.