Znuny/Znuny LTS is a fork of the ((OTRS)) Community Edition, one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management.
For all dashboard widgets, the TicketNumber field is mandatory. Addtionally, for process widgets, the Activity and Process fields are mandatory. These fields can be removed from the configuration and the state can be saved. After removal, the columns will still be displayed in the table. However, when returning to the configuration, the fields are not present in the Available Fields column.
To resolve this issue, an alert box has been added to inform the user that a mandatory field has been removed and to prevent the user from saving this configuration.
Type of change
1 - π bug π
Additional information
Steps to replicate:
Navigate to the AgentDashboard.
Select a ticket widget, click to open the action menu in the top right hand corner and then click the settings cog.
Remove a mandatory field (Ticket Number/Activity/Process) from the Visible Columns and add it to the Available Columns.
Save the changes.
Note that the removed field is still a visible column in the table.
Return to the settings to see that the field remains in Available Columns where it was previously saved
Checklist
[x] The code change is tested and works locally.(β)
[x] There is no commented out code in this PR.(β)
[ ] You improved or added new unit tests.(β)
[ ] Local ZnunyCodePolicy passed.(β)
[ ] Local UnitTests / Selenium passed.(β)
[ ] GitHub workflow CI (UnitTests / Selenium) passed.(β)
Proposed change
For all dashboard widgets, the TicketNumber field is mandatory. Addtionally, for process widgets, the Activity and Process fields are mandatory. These fields can be removed from the configuration and the state can be saved. After removal, the columns will still be displayed in the table. However, when returning to the configuration, the fields are not present in the Available Fields column.
To resolve this issue, an alert box has been added to inform the user that a mandatory field has been removed and to prevent the user from saving this configuration.
Type of change
1 - π bug π
Additional information
Steps to replicate:
AgentDashboard
.Checklist