Skip to content

System shows Need ServiceID or Name! error #7

@nataliaffreitas

Description

@nataliaffreitas

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:

Image

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:

Image

I believe it is necessary to place this "if ($(ServiceID).val())" validation in the ('ServiceID').on('change', function ().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions