Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Jul 2012 at 23:32 UTC
Updated:
29 Jul 2014 at 20:56 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tim.plunkett#1704196: Remove Config's dependencies on procedural Drupal code in includes/common.inc is in.
Comment #3
Anonymous (not verified) commentedComment #4
Anonymous (not verified) commentedDone.
Comment #6
tim.plunkettPatch was partially malformed, and had on windows line ending. After I got it to apply, all of drupal_array was gone.
Comment #7
Anonymous (not verified) commented@tim.plunkett: I' m tired of Eclipse ( i think it is him, not me) adding \r newlines, or creating wrong patches. Maybe i'm not using it correctly... anyway, could you tell me a tool for checking this previosly to attaching here ? I'm using dreditor, but i cant see those windows line endings on the "Review" tool.
Thanks!
Comment #8
tim.plunkettHm, dreditor doesn't pick those up (feature request!), I just noticed it in vim while looking through the patch.
That said, the patch looks good and just passed!
Comment #9
sunThese aren't added in alphabetical order.
It looks like we could and should merge that überwonky MiscUnitTest into ArrayUnitTest? (or at least the array-merge parts of it, if there's more "misc" stuff in that crappy test case...)
Comment #10
tim.plunkettPutting
usestatements in alphabetical order isn't in our coding standards (yet). Maybe open an issue to discuss adding that to http://drupal.org/node/1353118?That would leave testCheckMemoryLimit() all alone in MiscUnitTest :)
Comment #11
sunI know that the order of use statements is not defined in the coding standards yet, but I wrote the issue summary and specifically asked to add them in alphabetical order - at least for the time being that seems to be the most natural and sensible approach, in order to not significantly increase the havoc.
Performed the final adjustments.
Also renamed ArrayUnitTest into NestedArrayUnitTest.
Comment #12
tim.plunkettRe-RTBC then.
Comment #13
catch#11: drupal8.nestedarray.11.patch queued for re-testing.
Comment #15
tim.plunkettRerolled.
Comment #16
amonteroHow does this relates to #66183: Add helper methods to inject items into a particular position in associative arrays?
Comment #17
sunThanks, looks good!
@amontero: Doesn't seem to relate at all to that issue.
Comment #18
sun#15: drupal-1705920-15.patch queued for re-testing.
Comment #20
sunRe-rolled against HEAD.
Comment #21
amontero#20: drupal8.nestedarray.20.patch queued for re-testing.
Comment #23
amonteroTagging
Comment #24
underq commentedOk rerolled :)
Comment #25
amonteroThanks!! The reroll seems OK to me.
Lame nitpick: at line 727 of patch, the comment "Tests the various NestedArray helper class." seems a bit weird to me, sun's original patch deleted "various". But seems not worth to set it to "needs work". At least until no other problems have been ruled out.
Untagging.
Comment #26
underq commentedI removed "various" and rerolled patch :)
Comment #27
amonteroThanks. Tagging.
Comment #28
tim.plunkettLooks good. See also #1356170: Remove all uses of array_merge_recursive, or document why they are being used instead of NestedArray::mergeDeep()
Comment #29
amonteroThis one was also postponed:
#66183: Add helper methods to inject items into a particular position in associative arrays
Comment #30
dries commentedCommitted to 8.x. Thanks.
Comment #31
catchThis could use a change notification.
Comment #32
tim.plunkettAdded http://drupal.org/node/1870678 and updated http://drupal.org/node/1403768
Comment #33.0
(not verified) commentedUpdated issue summary.