[MGNLETK-65] SiteNameMatcher should only match if it is /site or /site/* but not /site* Created: 18/Oct/11  Updated: 17/Apr/12  Resolved: 01/Nov/11

Status: Closed
Project: Extended Templating Kit (closed)
Component/s: None
Affects Version/s: 1.4.3
Fix Version/s: 1.4.4

Type: Bug Priority: Neutral
Reporter: Vit Kroutil Assignee: Ondrej Chytil
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

When I have two site definitions

  • demo-project; Site Definition: mappings/website/handlePrefix=/demo-project
  • demo-project-test; Site Definition: mappings/website/handlePrefix=/demo-project-test

ETKSiteManager throws WARN message

2011-10-18 14:23:18,533 WARN  .module.extendedtemplatingkit.sites.ETKSiteManager: More than one matching site found for rule
[ETKSiteManager.Rule[description=URI starts with site name: /<site-name>,matchers=
{ETKSiteManager.SiteNameMatcher[]},multipleMatchesPossible=false]]: [demo-project, Domains:[http://www.demo-project.com], Mappings:
{website= --> website:/demo-project} I18n:info.magnolia.cms.i18n.DefaultI18nContentSupport@7e846ccc, demo-project-test, Domains:
[http://www.demo-project.com], Mappings:{website= --> website:/demo-project-test}
I18n:info.magnolia.cms.i18n.DefaultI18nContentSupport@280305f8]

when you try to render demo-project-test page and page is not rendered with it's theme.



 Comments   
Comment by Jan Haderka [ 17/Apr/12 ]

For details see http://documentation.magnolia-cms.com/administration/security/accesscontrollists.html#URIsecurity

Generated at Mon Feb 12 01:48:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.