Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
field_ui.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Sep 2014 at 11:23 UTC
Updated:
29 Sep 2014 at 10:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
unstatu commentedThis patch should fix the link
Comment #2
unstatu commentedComment #3
dawehnerIt would be great to have some basic test coverage here.
Comment #4
keopxHi,
Tested and works fine :)
Comment #5
alexpottCan we add an automated test - thanks!
Comment #6
swentel commentedAdded test + simplified the str_replace. Interdiff is pretty much useless.
Comment #8
dawehnerSo the bug for me was that for example "admin/structure/display-modes/view/add/node" was
"admin/structure/display-modes/entity_view/add/node" so this test seems not a proper one?
Comment #9
swentel commentedI see what you mean, but in the end we don't really care here whether the entity type is ok, we're testing whether 'entity_view_mode' becomes 'view'. I could change the test to assert for admin/structure/display-modes/view/add/entity_test_mulrev though if you want.
Comment #10
swentel commentedWith different assert now.
Comment #11
dawehnerWell right you ensure that the bug is fixed, but it would be also cool if it would actually work! Thanks for providing a good fix!
Comment #13
swentel commentedoh bah
Comment #14
alexpottCommitted db6bd07 and pushed to 8.0.x. Thanks!