documentation-developer icon indicating copy to clipboard operation
documentation-developer copied to clipboard

Added paragraph about siteaccess scopes are merged

Open vidarl opened this issue 1 year ago • 4 comments

Question Answer
JIRA Ticket N/A
Versions 3.3, 4.6
Edition Content/Headless,

Added paragraph about settings for the different siteaccess scopes are merged

Checklist

  • [ ] Text renders correctly
  • [ ] Text has been checked with vale
  • [ ] Description metadata is up to date
  • [ ] Redirects cover removed/moved pages
  • [ ] Code samples are working
  • [ ] PHP code samples have been fixed with PHP CS fixer
  • [ ] Added link to this PR in relevant JIRA ticket or code PR

vidarl avatar Aug 21 '24 06:08 vidarl

Thank you Vidar! So for scalar values (string, int) the "higher level" scope simply overwrites the lower levels - but in terms of arrays they get merged together?

mnocon avatar Aug 21 '24 07:08 mnocon

Thank you Vidar! So for scalar values (string, int) the "higher level" scope simply overwrites the lower levels - but in terms of arrays they get merged together?

That is correct

vidarl avatar Aug 21 '24 09:08 vidarl

Thank you Vidar! So for scalar values (string, int) the "higher level" scope simply overwrites the lower levels - but in terms of arrays they get merged together?

That is correct

This is more complicated than that. It depends on specific set of settings and their nesting level. In case of languages this is true, but for each case I'd check the container. We had and probably still have some config merging issues in some places.

alongosz avatar Aug 27 '24 09:08 alongosz

@alongosz already approved this one, so I assume it can be merged?

vidarl avatar Feb 12 '25 13:02 vidarl