-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Labels
2 - clarificationThe issue or pull requests needs more information.The issue or pull requests needs more information.2 - wait for contributorContributor, it's your turn.Contributor, it's your turn.
Description
Security Issue Confirmation
- I confirm this is not a security-related issue
Issue Search Confirmation
- I have searched for existing issues and found none that match this problem
Server Operating System
Ubuntu 22.04.5 LTS
Browser
Chrome, Opera
Znuny Version
6.5.16
Database Type
MySQL 8.0+
Expected Behavior
I recently had a case where I entered the customerUser in the form, but when I sent the form to the backend, the ticket was opened without the association with the user I selected.
Digging into the code, I found that the backend code doesn't perform the second validation to verify that the data was submitted. I suggest adding a check for this attribute.
Actual Behavior
Perform CustomerUser validation in the backend AgentTicketPhone.pm
Steps to Reproduce
Kernel/Modules/AgentTicketPhone.pm line 1211
if ( $SelectedCustomerUser eq '' ) { $Error{'FromCustomerInvalid'} = ' ServerError'; }
Error Messages
No response
Additional Information
No response
Screenshots
No response
Metadata
Metadata
Assignees
Labels
2 - clarificationThe issue or pull requests needs more information.The issue or pull requests needs more information.2 - wait for contributorContributor, it's your turn.Contributor, it's your turn.