Description
If an entities.xml is structured like this:
- Page A in Space S
- Space S (home = Page B)
- Page B in Space S
Page A overwrites Page B. What happens is Page A is first assumed to be the home page, then Space S is defined, declaring the right home page. The code correctly clears the home page property from Page A, but the way its properties are saved ignores this clearing.