znuny / Znuny4OTRS-AutoSelect

This package contains the functionality to select and hide automatically fields, if only one value is available.
1 stars 1 forks source link

AutoSelect issue with SLA related to Service Selection using OTRS 6.0.15 #5

Closed RegularEmployee closed 5 years ago

RegularEmployee commented 5 years ago

When a customer creates a new ticket, the automatic selection of SLA and Service doesn't work anymore. The logged-in user has assigned the service "Standard Support". The service itself has one assigned SLA "Standard SLA". In a previous version both had therefore been selected automatically and could be hidden.

Upon opening "/otrs/customer.pl?Action=CustomerTicketMessage" the form looks like this: image Now the Service "Standard Support" ist selected automatically (and could be hidden), nothing can be selected in the SLA drop down. It seeems that the dependency to the SLA is no longer recognized. When selecting the Service again (with double click) suddenly the SLA gets populated and teh "Standard SLA" is selected.

image

We tested this behaviour on several browsers. Here is a screen recording of Safari: screencast otrs autoselect.mp4.zip

jepf commented 5 years ago

Thank you @RegularEmployee for reporting the issue. We'll have a look.

jepf commented 5 years ago

@RegularEmployee Have you tried to enable SysConfig option Znuny4OTRSAutoSelect###SelectAlways? This should fix your problem.

RegularEmployee commented 5 years ago

@jepf Thank you for dealing with the issue so quickly. The above setting is enabled and this does not solve the problem. Are you using 6.0.15 of OTRS, we did not have the issue in previous versions. image In our original version we had enabled Znuny4OTRSAutoSelect###SelectAlways and Znuny4OTRSAutoSelect###HideFields, so that the "normal" customer would see neither "Service" nor "SLA" drop-downs. When opening the page, Service was selected and hidden but SLA was still there and grey. My interpretation is, that the first field "Service" is set correctly, but somehow the selection is not "communicated" to the "SLA" field. This only happens, when "Service" is selected manually in the UI.

RegularEmployee commented 5 years ago

@jepf If you want, I could create an account on our system to reproduce the issue?

RegularEmployee commented 5 years ago

Here is a screenshot of how the ticket create (Action=CustomerTicketMessage) form looks like when "SelectAlways" and "HideFields" are activated. The service field is hidden and so should the SLA field, but it doesn't ... Somehow the relationship between ServiceID and SLAID is interrupted, as there is exactly one SLA for the Service defined. image With this setting, customers are no longer able to create tickets. Therefore our work-around was to exclude the ServiceID from AutoSelect fields: image Once the service is selected manually, the SLA disappears automatically, therefore it gets evaluated correcly. Very strange. Let me know what I can do to support you better ...

jepf commented 5 years ago

Thank you for the additional information. We'll look for a solution for this.

jepf commented 5 years ago

This issue should now be fixed with Znuny4OTRS-AutoSelect package version 6.0.5.

RegularEmployee commented 5 years ago

Wow that was fast! I'm looking forward to install and test it on our help desk. I suppose it will soon be available in Znuny4OTRS-Repo. Thanks a lot!

RegularEmployee commented 5 years ago

IHMO the ticket can be closed. I updated to version 6.0.5 this morning and the issue is fixed. Thank you for your fast reaction and solution.