[MGNLDEMO-171] 'sportstation' site should not extend domains from 'travel' site Created: 29/Jun/16  Updated: 07/Nov/16  Resolved: 31/Oct/16

Status: Closed
Project: Magnolia Demo Projects
Component/s: None
Affects Version/s: None
Fix Version/s: 1.1

Type: Bug Priority: Neutral
Reporter: Milan Divilek Assignee: Maxime Michel
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Sprint: Basel 68
Story Points: 5

 Description   

'sportstation' site should not extend domains from 'travel' site, because domain should not be used for more then one site.

WARN   info.magnolia.multisite.sites.MultiSiteManager 29.06.2016 14:20:44 -- More than one matching site found for rule [Rule[description=Domain matches and the uri prefix is empty (main site),matchers=[DomainMatcher[], SiteHasEmptyUriPrefixMatcher[]],multipleMatchesPossible=false]]: [travel, Domains:[http://travel-demo.magnolia-cms.com], Mappings:{website= --> website:/travel} I18n:info.magnolia.cms.i18n.DefaultI18nContentSupport@5b8aa1e5, sportstation, Domains:[http://travel-demo.magnolia-cms.com, http://sportstation-author.magnolia-cms.com], Mappings:{website= --> website:/sportstation} I18n:info.magnolia.cms.i18n.DefaultI18nContentSupport@2f689e9f]

This cause problem with resolving correct links for 'sportstation' site.
Reproduce:
1.Go to https://travel-demo.magnolia-cms.com/.magnolia/admincentral#app:pages:browser;/:treeview:
2.And try to edit for instance '/sportstation/about'
3.Detail subapp will open '/travel/about' instead

Fix:
Add extends property with value override into "/sportstation/domains"


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