Support

Akeeba Ticket System

#27357 Ticket edition error when switching website language

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 arnaudlu on Monday, 20 March 2017 08:26 CDT

arnaudlu
Hello,

I'm using version rev0CB36FF in order to fix bug #27044

My site is multilingual. When I'm using English version, I create a ticket, then switch to French version of the website and try to open the ticket: I've got a 403 error "[not authorized to display this ticket]"

Thanks for your help !
Best regards,
Arnaud

tampe125
Akeeba Staff
Hello,

I'm sorry but I can't replicate the problem.
How are you opening the ticket? From the New ticket menu entry or by clicking on the New ticket inside the category?
What's the language for your categories? Are them all set to All or some are assigned to a language and others to another?

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!

arnaudlu
Hello,

It's the same (menu or button), same error.
My categories are in French and English.
All categories are set to one language (fr or en).

Best regards,
Arnaud

nicholas
Akeeba Staff
Manager
All categories are set to one language (fr or en).


Let's say you have "Categorie A" and it's set to the French language. When you are viewing your site in English you are not supposed to see that category at all. Trying to see that category, create a new ticket in it or view a ticket in this category leads to a 403 by design. When you are viewing your site in French, however, you can access the category according to the viewing access level and you can create / edit / reply to tickets according to the access control rules of the category.

In other words: setting a language on a category (other than "(All)") enables the language content filter of Joomla. This is how Joomla's language feature is intended to be used.

Therefore the observed behaviour is the intended and exactly how Joomla! is designed to work. When you are viewing your site in French you can file your ticket in Categorie A and then you can see the ticket. If you switch your site to English you are no longer supposed to be able to access the French content. If you try to view the ticket in Categorie A the Joomla! language filter kicks in and says to ATS "no, you must not display this content to this user, it's not in their language!". Therefore you get a 403.

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!

arnaudlu
Thanks for your explanations, I understand.
Best regards,
Arnaud

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!