Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
25 May 2012 at 05:31 UTC
Updated:
4 Jan 2014 at 02:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
crifi commentedThis isn't the base system.
Comment #2
droplet commentedComment #3
droplet commentedkill_duplcate_array_key.patch queued for re-testing.
Comment #5
droplet commentedComment #6
mr.baileysLooks good to me, except maybe for:
Maybe we should remove the 100 => 3/3 test case instead, since the 200/200 testcase tests specifically for numbers with more digits.
Comment #7
droplet commentedComment #9
droplet commented#7: 1599618-duplicate_array_key-7.patch queued for re-testing.
Comment #10
mr.baileysLooks good to me, nice clean-up!
Comment #11
dries commentedPatch doesn't seem to apply:
Asking for a re-test.
Comment #12
dries commented#7: 1599618-duplicate_array_key-7.patch queued for re-testing.
Comment #14
yurtboy commentedApplied patch but it failed but then I modified it to pass locally
After modifications
It applied cleanly at
HEAD is now at 4bd1231 - Patch #1630108 by cosmicdreams: improper reference to Drupal\Database\Query\AlterableInterface.
Comment #15
yurtboy commentedseems I did not need a take two. I just misunderstood that status message after the comment was posted.
Comment #16
droplet commented#15 okay.
Comment #17
chx commentedThank you for contributing to core but what is going on here?? I see test changes, a new persistent variable introduced, a CSS class changing... omnibus patch :)
Comment #18
droplet commented@chx,
look at #0 patch with more diff context :)
eg.
last one overrided previous one
same problem to others.
2 "#title" here :)
Comment #19
chx commentedAh so. Thanks.
Comment #20
droplet commented??
so remove it . anything wrong ?
Comment #21
droplet commentedoutput:
bool(true)Comment #22
chx commentedErm. Sorry, wrong status.
Comment #23
webchickAll of these seem to make sense (once you read the surrounding code) except:
One is keyed en,en-US, the other en-US,en, so I'm not sure how these are duplicates. Also, the above code notes:
Therefore, I don't think removing this is correct; the similar values seem to be intentional. If this is wrong, feel free to re-open.
Committed and pushed the rest of the patch to 8.x. Nice catches! Will need a port to D7 due to PSR-0.
In the future, though, please make meaningful issue summaries to explain to people what a patch is doing. That ":)" cost me 10-15 minutes of not committing other peoples' patches. :(
Comment #24
droplet commentedThere're at different places:
Comment #25
droplet commentedtagging Novice,
D8 Patch:
- remove #24 duplicate array key
D7 Patch:
- reroll all changes
Thanks.
Comment #26
albert volkman commentedIf we revert 7d41f69046999a2e0b90b24c1a24ecc621a978bd, the second patch will apply. First patch includes only changes requested by @droplet.
Comment #27
droplet commentedComment #24 explained why we needed it, patch looks good.
Comment #28
webchickOk, thanks.
Committed and pushed to 8.x. Back to 7.x.
Comment #29
albert volkman commentedD7 backport.
Comment #30
droplet commented5 same changes. Worked.
Comment #31
David_Rothstein commentedCommitted to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/8bd1079
Comment #33
chrisjlee commentedComment #33.0
chrisjlee commentedadd summary