Multitenance - Default Slugs conflict with Tenant UrlPrefix

Topics: Core, Customizing Orchard, General, Writing modules
Mar 15, 2013 at 3: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?

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