Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
file.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
18 Aug 2013 at 17:13 UTC
Updated:
29 Jul 2014 at 22:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
slashrsm commentedWorking on this.
Comment #2
slashrsm commentedGo for it, testbot!
Comment #4
slashrsm commentedLet's try what happens w/o change in function system_update_8024().
Comment #5
twistor commentedNo need to have $fid be by reference.
No need for empty(). Switch the conditions.
These files should be bulk-loaded before the foreach.
$controller->loadMultiple()Can we convert update functions to entity query?
Edit: Leaving at NR for testbot.
Comment #7
slashrsm commentedFixed comments. chx confirmed on IRC that we do not touch update hooks, so I removed changes to user_update_8011().
Comment #8
slashrsm commented#7: 2068343_7.patch queued for re-testing.
Comment #10
slashrsm commented#7: 2068343_7.patch queued for re-testing.
Comment #11
jibranThis plugin needs injection @see Plugins can receive injected dependencies from the container
Comment #12
slashrsm commentedGood point.
Comment #13
dawehnerSeems to be just a copy and paste of some other code.
You missed to document the QueryFactory.
... so we needs tests? This does NOT set $entityQuery so it should not work.
Comment #14
slashrsm commentedI'm ashamed... However, all comments from #13 should be fixed in attached patch. The only view in core that currently uses this argument plugin is file listing (detailed usage info part). I added some more tests to that, that should also catch non-working Fid plugin.
Comment #15
peximo commentedI have tested the patch and it works, also there's no coding standard problems; all seem good for me.
Comment #16
alexpottCommitted 0ff5e6d and pushed to 8.x. Thanks!
Comment #17
slashrsm commentedYAY!
Comment #19
plach