Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
migration system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
6 Jan 2014 at 21:44 UTC
Updated:
29 Jul 2014 at 23:16 UTC
Jump to comment: Most recent
Comments
Comment #1
dawehnerI wonder whether we need a test for that?
Comment #2
chx commentedI somewhat doubt. Very nice catch, thanks andypost.
Comment #3
chx commentedTo elaborate: theoretically a test might be useful but I am afraid it'd take a lot of work to test that the plugin alteration works and it's not worth it. Usually we want a test to make sure we do not regress but regressing on this? That looks extremely unlikely.
Comment #4
andypostI think we have enough test coverage for
DefaultPluginManagerPS: to test this properly migrate needs test module with alter hook, not sure it makes sense to implement one to test default functionality
Comment #5
webchickHm. I really don't like committing bug fixes without tests, but basically chx/andypost have pointed out that the base plugin classes to contain test coverage for this, and if we added an alter test here it'd be a one-off for this single plugin type, which doesn't really make much sense. The bug was caused by a typo that's unlikely to be re-introduced.
So, with that, committed and pushed to 8.x. Thanks!