jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Author Topic: Article without alias on one language  (Read 17653 times)

Finarfin

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Article without alias on one language
« on: July 28, 2013, 08:30:42 pm »

Ok, let me know if you can replicate this:


Menu entry, entry A (es-ES) points to article A (es-ES). If you click on the english flag, you´ll get a 404 (correct)
Article B (es-ES) accesed directly, for example trough a category blog. If you click on the english flag, you´ll get the article untranslated in the english side, not a 404 (incorrect)

Is intended this way? is a minor annoyance really, but I prefer to ask ;)
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Article without alias on one language
« Reply #1 on: July 28, 2013, 10:01:23 pm »

Whats the native language? It an incorrect behavior...
Logged
Joomla! 5.0 Release Manager
Vote at JED

Finarfin

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Re: Article without alias on one language
« Reply #2 on: July 29, 2013, 11:03:10 am »

The language selected is the one between brackets. I ask first if you can replicate it in case is some kind of misconfiguration in my installation ;)
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Article without alias on one language
« Reply #3 on: July 29, 2013, 11:08:49 am »

Ends your url on "?view=article" if you click the other language?

For me it seams to show the category with another view and shows the first article it founds and for a reason I don't know it shows the untranslated version of the article.
Logged
Joomla! 5.0 Release Manager
Vote at JED

Finarfin

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Re: Article without alias on one language
« Reply #4 on: July 29, 2013, 12:46:24 pm »

The url looks something like this:

localhost/index.php/en/categoryname?view=article&id=654

If I add a translation, it translate, even when the original article still have the language on spanish instead of "*"

Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Article without alias on one language
« Reply #5 on: July 29, 2013, 02:26:00 pm »

Funny because joomla shouldn't show you the article, seam there is no language filter for this in article view...

But mod_jdlanguage should not offer you this url, so its a bug. Maybe you solve it but I think thats not so easy I should rewrite mod_jdlanguage because it doesn't honor any component specific behavior...
Logged
Joomla! 5.0 Release Manager
Vote at JED