-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Server Operating System:
Ubuntu 22.04.5 LTS
Browser:
Chrome
Znuny Version:
6.5.16
Database Type:
PostgreSQL 12.0+
Znuny ITSMIncidentProblemManagement version:
6.5.3
Actual Behavior:
On ticket opening screens (like AgentTicketPhone, for example), whenever the service is changed, the .js file is called. However, when the service is "removed," the .js file doesn't validate whether there is a service or not, and the error below is triggered in the log:
I verified that it happens because in the file var/httpd/htdocs/js/ITSM.Agent.ITSMIncidentProblemManagement.js in the Service change, there is no If validating if there is a service first, as there is in the lower part:
I believe it is necessary to place this "if ($(ServiceID).val())" validation in the ('ServiceID').on('change', function ().