Support

Akeeba Ticket System

#33311 small bugs

Posted in ‘Akeeba Ticket System for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Ticket System version
n/a

Latest post by stimulus on Friday, 26 June 2020 12:15 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.

 

tampe125
Akeeba Staff

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 • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!

tampe125
Akeeba Staff

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 • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

stimulus

That fixed it. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

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!