1
General Questions / jDiction no longer fully working with k2
« on: August 30, 2018, 10:00:03 am »
Hello,
I've noticed a possible bug with k2 and jDiction. I didn't notice at which stage it started, but most likely after last joomla and jDiction update. Currently I'm running joomla 3.8.10 and jDiction 2.2.2
The problem is with language switching within and item, categories work fine.
Here are some examples:
K2 Category view
http://visit.jelgava.lv/apskates-objekti/muzeji-un-ekspozicijas
If you change languages in this view (upper right corner), everything will switch nicely.
K2 Item view
http://visit.jelgava.lv/apskates-objekti/muzeji-un-ekspozicijas/item/81-jelgavas-sv-trisvienibas-baznicas-tornis
If you change languages in this view (upper right corner), 404 error is returned.
The problem here is that, for some reason url is constructed a bit wrong, it is missing some characters when switching language. If you take a look at the url below:
This is the correct working url
http://visit.jelgava.lv/ru/dostoprimechatelnosti/muzei-i-ekspozicii/item/81-jelgavas-sv-trisvienibas-baznicas-tornis
But language switcher cuts some symbols from the url "/it"
http://visit.jelgava.lv/ru/dostoprimechatelnosti/muzei-i-ekspoziciiem/81-jelgavas-sv-trisvienibas-baznicas-tornis
What makes this problem very hard to understand, at least for me. Is that this problem occurs only when switching from Latvian (LV) language to others. If I use English or Russian as and then switch to other languages, there is no such problem.
I've noticed a possible bug with k2 and jDiction. I didn't notice at which stage it started, but most likely after last joomla and jDiction update. Currently I'm running joomla 3.8.10 and jDiction 2.2.2
The problem is with language switching within and item, categories work fine.
Here are some examples:
K2 Category view
http://visit.jelgava.lv/apskates-objekti/muzeji-un-ekspozicijas
If you change languages in this view (upper right corner), everything will switch nicely.
K2 Item view
http://visit.jelgava.lv/apskates-objekti/muzeji-un-ekspozicijas/item/81-jelgavas-sv-trisvienibas-baznicas-tornis
If you change languages in this view (upper right corner), 404 error is returned.
The problem here is that, for some reason url is constructed a bit wrong, it is missing some characters when switching language. If you take a look at the url below:
This is the correct working url
http://visit.jelgava.lv/ru/dostoprimechatelnosti/muzei-i-ekspozicii/item/81-jelgavas-sv-trisvienibas-baznicas-tornis
But language switcher cuts some symbols from the url "/it"
http://visit.jelgava.lv/ru/dostoprimechatelnosti/muzei-i-ekspoziciiem/81-jelgavas-sv-trisvienibas-baznicas-tornis
What makes this problem very hard to understand, at least for me. Is that this problem occurs only when switching from Latvian (LV) language to others. If I use English or Russian as and then switch to other languages, there is no such problem.