Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

[Solved] Subsites saves or load wrong SiteConfig


Reply

2 Posts   1177 Views

Avatar
Martijn

15 September 2010 at 6:36am (Last edited: 15 September 2010 12:13pm), Community Member, 271 Posts

Hi all,

I use:

Silverstripe version : 2.4.1
Subsites version : trunk r110723

I have set up the subsites module as follows:

Subsite 1 : test.domain.nl - primary domain - Default site - nl_NL
Subsite 2 : test.domain.com - en_US

I have the same pagestructure for each subsite and all have a SubsiteID 1 or 2 (all MasterPageID's are 0).
This works as expected in the CMS and frontend. No strange things or errors at all.

When I change the active Subsite in the CMS, the wrong SiteConfig gets loaded and/or saved. This seems to happen randomly at the following events:

Change the current Subsite from the dropdown.
Save the SiteConfig.
Hitting F5 to reload.
Loading a page from the SiteTree menu and return to SiteConfig (this sometimes also make the correct SiteConfig loading, when the wrong was displayed after a F5 or subsite switch).

In the CMS I only work at the .nl domain and both SiteConfigs have a SubsiteID.

How to solve this ? :)

Avatar
Martijn

15 September 2010 at 12:12pm Community Member, 271 Posts

Found bug :

http://open.silverstripe.org/ticket/5997