Content of custom (drop down) filed is getting lost when edit the ticket

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
buxreptref
Posts: 3
Joined: Sat Feb 22, 2025 5:05 pm

Content of custom (drop down) filed is getting lost when edit the ticket

Post by buxreptref »

Script URL: https://reparaturtreff-buxtehude.de/tickets_debug/admin
Version of script: HESK 3.5.2 (same behavior with 3.4 before)
Hosting company: biohost.de
URL of phpinfo.php: https://reparaturtreff-buxtehude.de/tic ... hpinfo.php
URL of session_test.php: https://reparaturtreff-buxtehude.de/tic ... n_test.php
What terms did you try when SEARCHING for a solution:
I searched all topics related to custom fields, but I did not find anything that is realted.

Write your message below:

We added several custom fields. The issue we have is regarding a drop down field
We can see the value "Kartennummer" when selecting the Ticket. But if we click in "Edit" the value disapears and changes to "Click to select"
If we then exit the edit dialog without saving, the value is still shown correctly in the ticket view.
This happens only to very few tickets. (also new created ones) Most time the "Kartenummer" is shown correct in the edit view.
We probably have no problem for "Kartenfarbe". As the "Kartenfarbe" field does not show "Click to select" as default, it might be that it just changes to the first entry of the drop down. Which also is not expected but not easy to observe

Please see the attached screenshots for explanation.
I posted post the required scripts to the server
https://reparaturtreff-buxtehude.de/tic ... pic/ok.png
https://reparaturtreff-buxtehude.de/tic ... ic/nok.png
https://reparaturtreff-buxtehude.de/tic ... nfarbe.png
https://reparaturtreff-buxtehude.de/tic ... nummer.png

Any ideas if we are doing sth wrong?
A login to the system can be provided, in oder to live see the issue
Last edited by buxreptref on Sat Feb 22, 2025 9:18 pm, edited 1 time in total.
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Re: Content of custom (drop down) filed is getting lost when edit the ticket

Post by Klemen »

This doesn't happen in any of my tests.

If you can provide admin access (via private message) and sample ticket ID where this happens, I can have a look.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
cwyenberg
Posts: 56
Joined: Sat Jun 16, 2018 12:53 am

Re: Content of custom (drop down) filed is getting lost when edit the ticket

Post by cwyenberg »

I had a similar if not the same issue. This may help

viewtopic.php?p=26461#p26461
buxreptref
Posts: 3
Joined: Sat Feb 22, 2025 5:05 pm

Re: Content of custom (drop down) filed is getting lost when edit the ticket

Post by buxreptref »

@cwyenberg thanks so much for your reply, that solved the issue reproduceible.
I had a blanc at the end of two values of my drop down field.
I removed them, and had no issue anymore.

Thanks for the incredible quick answer of @cwyenberg and @Klemen.
Not sure it it would make sense to catch these kind of issue in one of the upcoming versions of hesk.
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Re: Content of custom (drop down) filed is getting lost when edit the ticket

Post by Klemen »

Glad to hear that worked.

Will see if we can automatically strip spaces in a future update.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply