Support

Akeeba Ticket System

#24554 Bug with submit ticket

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 on Wednesday, 30 March 2016 17:20 CDT

compojoom
 Hey Nick,
There is a bug in version 2.0.5
When you have time spent set to required when you submit a ticket as non-administrator/non-manager there is a js error that prevents you from submitting the form.
Basically it comes from this line in the newticket/form.php
	if ($timespentMandatory)
	{
		ats_ticket_cansubmit = ($('#ats-timespent').val() > 0)
	}



The ats-stimespent is null and you can't do null.val() -> this triggers the error.
If you change it to:
	if ($timespentMandatory)
	{
		ats_ticket_cansubmit = ($('#ats-timespent') && $('#ats-timespent').val() > 0)
	}



Then it should be fine.

nicholas
Akeeba Staff
Manager
Yep, Davide has already fixed it. I will be releasing a new ATS version shortly.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!