Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added paragraph about siteaccess scopes are merged #2475

Open
wants to merge 3 commits into
base: 4.6
Choose a base branch
from

Conversation

vidarl
Copy link
Contributor

@vidarl vidarl commented Aug 21, 2024

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 vidarl requested a review from a team August 21, 2024 06:53
@mnocon
Copy link
Contributor

mnocon commented Aug 21, 2024

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 mnocon requested review from a team and removed request for a team August 21, 2024 07:04
@vidarl
Copy link
Contributor Author

vidarl commented Aug 21, 2024

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

@alongosz
Copy link
Member

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 alongosz requested a review from a team August 27, 2024 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants