You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Used Zammad version: 2.8.x
Installation method (source, package, ..): any
Operating system: any
Database + version: any
Elasticsearch version: any
Browser + version: any
Expected behavior:
After using a Ticket Template only available attributes are pre-filled
Actual behavior:
After using a Ticket Template unavailable attributes are pre-filled
Steps to reproduce the behavior:
Create 2 Agents
Create 1 Group
Assign permissions to created Group to Agent 1
Create Ticket Template with Agent 1 that contains the created Group
Use created Ticket Template with Agent 2
See that the (unavailable) Group is selected
Yes I'm sure this is a bug and no feature request or a general question.
Information that help:
The template gets loaded and applied in this area:
The logic to filter attributes is currently "trapped" in this file/class. The logic should get extracted to make it reuseable and then used in the "template apply" code.
This affects Ticket#1031263.
The text was updated successfully, but these errors were encountered:
Unfortunately the the browser test for this issue cannot be cleanly cherry-picked into stable, so that leaves one customer on stable who is still being affected. We've offered the bump the customer's hosted instance to develop as a temporary measure until the next release.
Infos:
Used Zammad version: 2.8.x
Installation method (source, package, ..): any
Operating system: any
Database + version: any
Elasticsearch version: any
Browser + version: any
Expected behavior:
Actual behavior:
Steps to reproduce the behavior:
Yes I'm sure this is a bug and no feature request or a general question.
Information that help:
The template gets loaded and applied in this area:
zammad/app/assets/javascripts/app/controllers/widget/template.coffee
Lines 79 to 80 in caa5c96
This part should be extended to limit/filter the attributes.
The available attributes can be found in the
formMeta.dependencies
object/hash - which can can get fetched like this:zammad/app/assets/javascripts/app/controllers/agent_ticket_create.coffee
Lines 47 to 51 in caa5c96
The logic to filter attributes is currently "trapped" in this file/class. The logic should get extracted to make it reuseable and then used in the "template apply" code.
This affects Ticket#1031263.
The text was updated successfully, but these errors were encountered: