Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in AgentTicketZoom with DynamicFields, using DynamicFieldScreens #1321

Closed
StefanRother-OTOBO opened this issue Oct 14, 2021 · 1 comment
Labels
bug Something isn't working as intended
Milestone

Comments

@StefanRother-OTOBO
Copy link
Contributor

Hi,

if I add ProcesswidgetDynamicField to "selected to disabled elements" for AgentTicketZoom in DynamicField Screens, the the dynamic field is never displayed, even if I activate it for AgentTicketZoom. I think it is at this location in AgentTicketZoom where the two config options are simply merged.

1664     # get dynamic field config for frontend module
1665     my $DynamicFieldFilter = {
1666         %{ $ConfigObject->Get("Ticket::Frontend::AgentTicketZoom")->{DynamicField} || {} },
1667         %{
1668             $ConfigObject->Get("Ticket::Frontend::AgentTicketZoom")
1669                 ->{ProcessWidgetDynamicField}
1670                 || {}
1671         },
1672     };
1673
1674     # get the dynamic fields for ticket object
1675     my $DynamicField = $Kernel::OM->Get('Kernel::System::DynamicField')->DynamicFieldListGet(
1676         Valid       => 1,
1677         ObjectType  => ['Ticket'],
1678         FieldFilter => $DynamicFieldFilter || {},
1679     );

Thanks!

Stefan

@StefanRother-OTOBO StefanRother-OTOBO added the bug Something isn't working as intended label Oct 14, 2021
@StefanRother-OTOBO StefanRother-OTOBO added this to the OTOBO 10.0.14 milestone Oct 14, 2021
@svenoe
Copy link
Contributor

svenoe commented Oct 14, 2021

Clarification: Deactivation happens for ProcessWidgetDynamicField, not AgentTicketZoom, as I understood. Thus the right course of action would probably be to swap the order of both hashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as intended
Projects
None yet
Development

No branches or pull requests

2 participants