This project is read-only.

Multitenance - Default Slugs conflict with Tenant UrlPrefix

Topics: Core, Customizing Orchard, General, Writing modules
Mar 15, 2013 at 4:51 PM
Hi to everyone,

I am working in a multitenant site. One of my tenants is named: Colombia, with its Url Prefix: co.
I have also in my Default tenant, a page with the slug: contactenos.

If i hit in my browser: http://localhost:30320/OrchardLocal/contactenos. Then,
i will get an error from Orchard saying: 'The resource cannot be found'.

I found that if i change the slug to: contacto, contactos, cont, con, coasdasd... everything that begins with co, the same error will be thrown by Orchard.

I have made this test in a fresh new project in order to isolate the problem, and it works the same way!

So, my question is: ¿ Is this the way it should work?, ¿Am i missing some config parameter?, or ¿Is it a bug?

Mar 15, 2013 at 10:56 PM
Please file a bug.
Mar 16, 2013 at 1:35 AM
Fixed in changeset 50f53b38113b
Mar 19, 2013 at 8:32 PM
Thanx sebastien and bertrand, I have applied the patch and now it works fine!