Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
system.module
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
23 Apr 2012 at 04:18 UTC
Updated:
4 Jan 2014 at 02:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
drummPatch attach
Comment #2
drummComment #3
drummSame patch for the testbot.
We ran into this on Drupal.org because we have
files/issues/downloadfiles.pngandfiles/issues/download.pngComment #5
drummNew approach because I didn't read PHP documentation.
Comment #6
drummComment #7
btmash commentedI just talked about this with webchick - the patch looks awesome but it would be a good idea to have atleast one test for this. I'll try and write out a test sometime tonight to make sure this works as expected.
Comment #8
btmash commentedOk, here is a preliminary stab at the test and test+patch. It should fail and pass as expected.
Comment #9
webchickExcellent. Thank you so much for the patch drumm, and the test, BTMash! This is one of those things that's likely to destroy data without obviously doing so, so happy to have found it and fixed it.
Committed and pushed to 7.x.