Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
menu system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Sep 2015 at 19:23 UTC
Updated:
23 Sep 2015 at 12:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
joshi.rohit100I found only one instance of test_page_test_page() which is in TestPageTestController. So I think, it is better if do both usage removal and function removal in one go. Also as test_page_test module only contains this function, so is it good to remove that file as well ?
Thoughts ?
Comment #3
joshi.rohit100In the mean time, here is patch for usage removal.
Comment #4
xito commentedComment #5
xito commentedHi @joshi.rohit100
I saw that you removed the call to "test_page_test_page()" function on the "TestPageTestController" file, but the function still on the .module file. I think that you should remove it from there.
Regards,
Comment #6
joshi.rohit100@naxolozano - Yes, I have only removed the usage (as per SI). To remove the function itself, IS needs update (see #2).
If it is fine to remove usage and function itself here in one go, please update SI, then we will do that here. Otherwise, I think #3 is what we have (as per current IS).
Comment #7
xito commented@joshi.rohit100 - Yes, I agree with your comment (#2, sorry, I didn't see before). I am going to rename the issue in order to cover both changes (Remove usage and function).
Comment #8
xito commentedComment #9
xito commentedComment #10
andriyun commentedComment #11
andriyun commentedPatch with removed file
Comment #12
andriyun commentedPatch with removed file and small fixes :)
Comment #13
l0ke1. One mention left in comment.
git grep test_page_test_page
core/modules/system/tests/modules/test_page_test/src/Controller/TestPageTestController.php: * @todo Remove test_page_test_page().2.
Remove $attached or use it to set '#attached'.
Comment #14
subhojit777Comment #15
andriyun commentedThanks! Looks great!
+1 to rtbc
Comment #16
l0keLooks fine for me!
+1 to RTBC
Comment #17
andypost+1, just a nitpick ;)
needs comma after ]
Comment #18
andriyun commentedFixed patch
Comment #19
subhojit777Upload interdiffs as well.
Comment #20
alexpottLess code and this only involves tests - nice. Committed 795d9f9 and pushed to 8.0.x. Thanks!