chrispanag
(Christos Panagiotakopoulos)
January 23, 2021, 2:59pm
1
After we upgraded to 2.7.0beta2, navigating to some categories is broken. When we try to access a category we get the following errors in the console:
You can try for yourself using the following links:
Το Ρεμπέτικο Γλωσσάρι - Ρεμπέτικο Φόρουμ
Μαζώξεις - Ρεμπέτικο Φόρουμ
Το Ρεμπέτικο Γλωσσάρι - Ρεμπέτικο Φόρουμ
Interestingly urls for some different categories work:
Επικαιρότητα - Ρεμπέτικο Φόρουμ
Επικαιρότητα - Ρεμπέτικο Φόρουμ
Ανακοινώσεις - Ρεμπέτικο Φόρουμ
Μουσική Θεωρία - Ρεμπέτικο Φόρουμ
Our forum is served behind cloudflare and we have setted an origin url (https://origin.rembetiko.gr ) for message bus.
We disabled Cloudlfare proxying, but unfortunately the problem persists. For now, Cloudflare proxying is still disabled.
Thanks a lot in advance The work that you do here is wonderful.
Falco
(Falco)
January 23, 2021, 4:13pm
2
We recently merged a change to fix case sensitive slugs in order to fix a different bug. That also had to deal with categories with duplicate slugs and it may have triggered this .
If you open the category 77 and set the slug as nil
does it fix it ?
chrispanag
(Christos Panagiotakopoulos)
January 23, 2021, 5:55pm
3
You mean like that?
https://rembetiko.gr/c/nil/77
No it doesn’t work
chrispanag
(Christos Panagiotakopoulos)
January 24, 2021, 3:04pm
4
Sorry for bumping this - but is there a possible workaround for this? Those categories are still inaccessible…
Thanks again
Benjamin_D
(Benjamin Decotte)
January 24, 2021, 7:20pm
5
I’d try to (temporarily) change the slug:
To fix the issue on my site, I went to the Rails console and ran:
c = Category.find_by(name: 'exemple de catégorie')
c.update(slug: 'exemple-de-categorie')
It might also be a plugin in use in these categories and not in the ones that are working
3 Likes
chrispanag
(Christos Panagiotakopoulos)
January 24, 2021, 8:27pm
6
The only non-standard code that runs on some of these categories is the discourse-category-sidebars theme component.
This is the plugin list:
The only non-standard plugin (except for whos-online) is the SealabsOnebox which just produces onebox previews for a website that doesn’t support oEmbed - I can’t think that it can interfere with category loading (especially specific category loading).
Thanks for the tip, I will to try update the slugs and I will update this topic with the results.
3 Likes
Falco
(Falco)
January 25, 2021, 12:38am
7
Yes, that the exact thing I meant with setting the slugs to nil @chrispanag
c = Category.find_by(id: 77)
c.update(slug: nil)
Check if the auto slug generation will fix it.
2 Likes