Issue Bug Closed

#89639Nested site with (active) baseVariants leads to wrong page (root of parent site)

Michael Stopp 11/11/19, 12:15 updated 07/08/24, 15:08

Description

In our setup, there is a root site (rootPageId 1) with a nested sub-site (rootPageId 70). Both sites have a baseVariants configuration for applicationContext ‘Testing’.

The configuration of the nested site looks like this (excerpt):

rootPageId: 70
base: 'https://www.mydomain.ch/'
baseVariants:
  -
    base: 'https://test.mydomain.ch/'
    condition: 'applicationContext == "Testing"'

Calling this site (or pages within this site) while in ‘Testing’ context, will show the start page of the main/parent site (correctly resolved with the baseVariant URL).

When I don’t use a baseVariants configuration and just set ‘https://test.mydomain.ch/’ as the base for the nested site, it works correctly.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 1

  1. Georg Ringer commented and changed status New Closed 07/08/24, 15:08

    I tested this in v13 and it works fine, I am pretty sure this has been fixed a long time ago, therefore closing the issue.

    if you don’t agree, feel free to contact me via slack!