Yesterday I have added a new life cycle. These status-names also contain capital letters, i.e. “keinErsatzteil” (meaning noSparepart in German). Everything works well and I really like this feature a lot.
Nevertheless because of the use of capital letters, in “Queue List” the tickets with that status were not counted. The problem was quickly found.
in ./share/html/Elements/QueueSummaryByLifecycle is the following command line
As you can see it uses lc. So it filters for the lower case name of the status. This one cannot be found, because the status contains a capital letter.
I created the file in ./local/html/Elements/QueueSummaryByLifecycle and removed the lc and now it works.
Maybe if there is no really good reason you can remove the lc in share, too.
Otherwise I would be interested why status names must have lower case letters.
Maybe if there is no really good reason you can remove the lc in share, too.
Otherwise I would be interested why status names must have lower case letters.
Statuses are stored internally lowercase since RT 4.0.13 [1].
The lc in QueueSummaryByLifecycle was added in RT 4.0.18 [2] to fix a
regression from the change above.
Which RT version are you using?
Can you confirm that the ticket status is saved in lowercase within the
database?
Statuses are stored internally lowercase since RT 4.0.13 [1].
The lc in QueueSummaryByLifecycle was added in RT 4.0.18 [2] to fix a
regression from the change above.
Which RT version are you using?
Version 4.4.0
Can you confirm that the ticket status is saved in lowercase within the
database?
Yes, you are right. I changed it manually in the database and didn’t use lower case. So, so problem was on my side.
Thanks.
So this can be closed. And I will do the change in the database too.