Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
field_ui.module
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 May 2014 at 13:04 UTC
Updated:
2 Apr 2015 at 07:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
lieb commentedNew contributor - looking into this.
Comment #2
lieb commentedFile in question is now in ./core/modules/field_ui/src/Tests/
Comment #3
lieb commentedComment #4
lieb commentedComment #5
lieb commentedOkay, the patch passed but it is logically incorrect. With this patch it is possible for these 3 assertions to not run at all. the correct solution is to find a way to index the array on some static value. I will keep working on this.
Comment #6
berdirComment #7
lorique commentedI reviewed this, and logically it looks fine. Not sure if we're covering all the cases.
I ran tests with:
php core/scripts/run-tests.sh --class "Drupal\field_ui\Tests\ManageFieldsTest"And got the following error:
I don't know if this is related, but its the same file. I'm setting this issue back to needs work.
Comment #8
swentel commentedAdded an additional test because if we change the label on the links by accident, the test won't cover it.
Comment #9
yesct commenteddoing https://www.drupal.org/contributor-tasks/update-allowed-beta
to evaluate https://www.drupal.org/contribute/core/beta-changes
Comment #10
rpayanmrerolled...
Comment #14
zaporylieI will re-roll #10
Comment #15
zaporylieHere is re-rolled patch #10, with additional
break;at the and ofcase 'Delete instance.':Comment #17
charginghawk commentedComment #18
charginghawk commentedThe error is due to the fact that 'Edit field settings' was changed to 'Edit storage settings' in issue 2312093:
https://www.drupal.org/node/2312093
https://github.com/drupal/drupal/commit/1476c56c62e4d84ef3e9a57029a92b1f...
Re-rolling with that minor change.
Comment #20
manningpete commentedLast patch applies; no reroll needed.
Comment #21
zaporylieComment #22
zaporylieGood work @charginghawk! Thanks to you I discovered that all dropdown menu titles was changed in #2312093: Rename FieldInstanceConfig to FieldConfig. I've updated patch - should be ok right now.
Comment #23
swentel commentedGood to go
Comment #24
alexpottRather than the variable name of $result / $res how about $operation_links / $link
Comment #25
rpayanmHere the patch.
Comment #26
zaporylie#25 follows alexpott suggestion, nothing more, so I'm bumping it back to RTBC.
Comment #27
webchickLooks good!
Committed and pushed to 8.0.x. Thanks!