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

Trim context setting keys on creation #16498

Merged
merged 1 commit into from Mar 22, 2024

Conversation

Jako
Copy link
Collaborator

@Jako Jako commented Dec 1, 2023

What does it do?

Trim the context setting key.

Why is it needed?

System and user settings keys are trimmed, but not the context setting key.

Related issue

The issue occurred in CrossContextsSettings. It uses the core context settings processor:
https://community.modx.com/t/langrouter-issues/7262

@Mark-H Mark-H added this to the v2.8.7 milestone Feb 10, 2024
@rthrash rthrash added bug The issue in the code or project, which should be addressed. pr/review-needed Pull request requires review and testing. labels Feb 27, 2024
@smg6511 smg6511 added pr/ready-for-merging Pull request reviewed and tested and ready for merging. and removed pr/review-needed Pull request requires review and testing. labels Mar 21, 2024
@opengeek opengeek changed the title Trim the context setting key during creating a new context setting Trim context setting keys on creation Mar 22, 2024
@opengeek opengeek merged commit a2bc18f into modxcms:2.x Mar 22, 2024
5 checks passed
@Jako Jako deleted the trim-context-setting-key branch March 23, 2024 13:23
opengeek pushed a commit that referenced this pull request Mar 25, 2024
opengeek pushed a commit that referenced this pull request Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue in the code or project, which should be addressed. pr/ready-for-merging Pull request reviewed and tested and ready for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants