Closed (duplicate)
Project:
Drupal core
Version:
9.3.x-dev
Component:
configuration system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2014 at 15:00 UTC
Updated:
4 Nov 2021 at 05:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
davidgrayston commentedFirst attempt at the patch.
Based on the documentation around
\Drupal\Component\Utility\NestedArray::setValue(), it looks like allowing PHP to error is the intended behaviour:"If FALSE, PHP throws an error if trying to add into a value that is not an array."
If that's the case, maybe this issue can be closed?
Comment #3
markdorisonComment #12
ranjith_kumar_k_u commentedRe rolled for 9.2
Comment #14
neclimdulEvery time I open up the issue queue I find another issue fixing or documenting where NestedArray is breaking something.
I think #2901127: NestedArray::setValue() without $force can cause WSOD. is bit further along and can easily address this without less code duplication so going to mark this duplicate and address this over there.