Add null coalescing for fallback and general settings#1768
Add null coalescing for fallback and general settings#1768manuelkleinert wants to merge 21 commits intopimcore:2025.4from
Conversation
* upgrade dependencies for 2026 * Apply php-cs-fixer changes * fix: sonar * Apply php-cs-fixer changes * [Widgets] PQL filter not working correct (pimcore#1744) * use new pql filter for tree * update dependencies * Apply php-cs-fixer changes * fix: rebase * fix: PHP Stan
* add the possibility to group tree nodes for custom reports * chore: split service
|
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 26 |
| Duplication | 0 |
TIP This summary will be updated as you push new changes. Give us feedback
|
@manuelkleinert Thank you for the Contribution. Could you rebase this PR to 2025.4? |
|
We have more of these type of errors, but for the function |
|
@manuelkleinert We would like to include this into 2025.4, Would be nice if you can rebase this PR. |
When the PR is rebased to 2025.4 We can include this. Is it only for |
Yes |
I have made the adjustment. |



#This PR fixes multiple ErrorException: Warning: Undefined array key errors occurring in SystemSettingsProvider::prepareSettingsForUpdate when saving system settings in Pimcore
Studio.
#Changes in this pull request
#Additional info
This issue occurred when the Pimcore Studio UI sent settings data where certain optional or language-specific fields were missing, causing a 500 Internal Server Error during the
preparation of the update. By adding these safeguards, the backend is now more resilient to incomplete or empty configuration sets, allowing the save process to complete
successfully regardless of the current configuration state.