dev/core#2263 Do not try and store items in the session if the sessio… #19245
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…n is currently empty
Store the locale in the session even if we are in a single lingual instance
Overview
This aims to fix an issue where by if you have multiple languages enabled on your civicrm instance the KcFinder breaks because the session is tried to written to before Drupal has booted
Before
After
The above works
Technical Details
There is more investigation information found on the alternate PR #19242. However this to me tries to target the actual underlying source of the problem where was that feels like it is just putting a bandaid on the issue
ping @haystack @kainuk @mlutfy
Are any of you able to test this and let me know if it works for you?