Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: taxonomies route returns a 404 for other languages if more than one taxonomy #2030

Closed
ASochat opened this issue Jun 19, 2018 · 5 comments

Comments

@ASochat
Copy link

commented Jun 19, 2018

Describe the bug
I have two languages (EN and FR) on my website and 3 taxonomies, with different tags in it

  • dossiers-categories (rules, ...)
  • tips-categories (advice, ...)
  • blog-categories (people, ...)

Each tag is translated in FR, with a different slug, for example [Rules, /rules] -> [Réglementation, /reglementation] and [Advice, /advice] -> [Conseils, /conseils]
For each one, I set {slug} as the route URL, with a defined template, so for example both /fr/reglementation and /fr/conseils should return a page contaning all the FR articles with the given tag, but instead, only the newest works whereas the other returns a 404.
For example, if I change something for the tag "Advice", only /fr/conseils will work, and /fr/rules returns a 404

To Reproduce
Steps to reproduce the behavior:

  1. Go to Taxonomies
  2. If you already have 1 taxonomy (call it "foo1-tags"), Create another taxonomy 'foo2-tags'
  3. Route to foo2-tags/{slug}
  4. Create a new foo2 tag called 'foo2'
  5. Go to french (or any other) locale and change the french slug of 'foo' for 'foo2-fr'
  6. Try to reach the URLs "/fr/foo2-tags/foo2-fr" and "fr/foo1-tags/foo1-fr"

Expected behavior
Both URLs should work
The french URL "/fr/foo2-tags/foo2-fr" (the newest) works but the URL "/fr/foo1-tags/foo1-fr" (related to the first taxonomy) returns a 404.
Only the latest modified URL works in each case
All the english URL ("en/foo2-tags/foo2" and "en/foo1-tags/foo1") work fine.

Screenshots
image

Environment details (please complete the following information):

  • Statamic Version: 2.8.12
  • OS: macOS 10.13.4
  • Browser: chrome
  • Web Server: Nginx
  • PHP Version: 7.2
@wautersj

This comment was marked as resolved.

Copy link

commented Sep 25, 2019

The Statamic support is horrible...
No responses on the github issues, and no responses on emails send through their contact form.

I confirm this nasty issue. It really needs a closer look.

@jasonvarga

This comment has been minimized.

Copy link
Member

commented Sep 26, 2019

Sorry for the lack of communication here - this issue should be fixed in 2.11.15, please let us know.

@jackmcdade

This comment has been minimized.

Copy link
Member

commented Sep 26, 2019

@wautersj I scoured our support inbox looking for an email from you but didn't see any. I want to make sure there isn't an issue somewhere, would you mind sending us a follow up in the same way you did before?

@wautersj

This comment has been minimized.

Copy link

commented Sep 27, 2019

I've done some testing, and I can confirm the problem isn't occurring anymore.
+1, this is very much appreciated, well done! 👍

@wautersj

This comment has been minimized.

Copy link

commented Sep 27, 2019

@wautersj I scoured our support inbox looking for an email from you but didn't see any. I want to make sure there isn't an issue somewhere, would you mind sending us a follow up in the same way you did before?

@jackmcdade I think I submitted my message at: https://statamic.com/support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.