#33311 – small bugs

Posted in ‘Akeeba Ticket System’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 25 June 2020 08:10 CDT
stimulus

Hello,

 

I've found 2 small bugs in the latest version of Akeeba Ticket System.

 

1) In the file :

joomla_root/administrator/components/com_ats/Helper/Html.php on the line 218 you use array_merge to combine the custom statuses of the tickets with "Open", "Pending" and "Close" but this changes the key of the custom statuses if the keys are integer values.

For a simple test replace the keys of one of the arrays to ineteger values here:

https://www.w3schools.com/php/phptryit.asp?filename=tryphp_func_array_merge2

 

So the id of the custom status is changed if it doesn't start with 0 or if the ids are not in order or one is missing.

 

2) I get an AJAX error when duplicating the site on a windows computer because the AJX url is wrong.

The url called is this:

localhost/joomla_templateindex.php?option=com_ats&view=Tickets&task=ajax_set_status...

instead of :

localhost/joomla_template/index.php?option=com_ats&view=Tickets&task=ajax_set_status...

Please notice the missing "/" before index.php.

 

Let me know if you need more details from me.

 

Custom Fields

Joomla! version (in x.y.z format) 3.9.19
PHP version (in x.y.z format) 7.3.12
Akeeba Ticket System version (x.y.z format) 3.4.1
 
Thursday, 25 June 2020 09:00 CDT
tampe125

Hello,

can you please share a screenshot of your custom statuses? I'd wish to replicate the problem and see if I can fix it.

Regarding the other issue, there was indeed a typo, I just fixed it.

 

Once I've done fixing the other issue I guess I can create a dev release for you to test.



Davide Tampellini

Developer and Support Staff



Italian: native

English: good



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



Thursday, 25 June 2020 12:15 CDT
stimulus

Hi,

 

You can just define any custom statuses with the IDs as integers.

Try this:

1=Received
2=In progress
4=Hold
5=Please respond
6=Testing
8=Fixed

Thank you!

 
Friday, 26 June 2020 08:04 CDT
tampe125

Thank you very much for the report.

There were indeed some bugs, can you please download and install the latest dev release and try again? That should fix your issues.



Davide Tampellini

Developer and Support Staff



Italian: native

English: good



Please keep in mind my timezone and cultural differences when reading my replies. Thank you!



Friday, 26 June 2020 12:15 CDT
stimulus

That fixed it. Thank you!

 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!