Part of #1971384: [META] Convert page callbacks to controllers
For instructions on how to convert a page callback into a controller, see the WSCCI Conversion Guide.
Beta phase evaluation
| Issue category | Task because it's updating code to the new API |
|---|---|
| Unfrozen changes | Unfrozen because it's a change in automated tests |
| Comment | File | Size | Author |
|---|---|---|---|
| #27 | 1987612-26.patch | 4.18 KB | aspilicious |
| #21 | 1987612-21.patch | 3.92 KB | valthebald |
| #20 | 1987612-20.patch | 3.92 KB | valthebald |
| #18 | 1987612-18.patch | 3.91 KB | valthebald |
| #15 | 1987612_interdiff_11_44.txt | 1.51 KB | valthebald |
Comments
Comment #1
vijaycs85Need to rewrite the whole module to make test sync with current test implementation. For more details, please refer: #1988802: [META] Rewrite test modules in system to provide better unit testing.
Comment #2
ayelet_Cr commentedComment #3
mparker17I'll help!
Comment #4
mparker17This appears to be already done in commit
22df596! :DComment #5
vijaycs85The commit mentioned in #4 isolated ajax_test_dialog_contents(), but it is not removing it. Still we have a controller method that calls ajax_test_dialog_contents().
Comment #6
internetdevels commentedLet's see...
Comment #7
pinoloComment #8
pinoloPatch #6 doesn't apply any more. Attaching an equivalent patch that applies to latest HEAD.
Comment #10
mile23Comment #11
mile23Reroll.
Comment #13
pinoloComment #14
valthebaldComment #15
valthebaldThere were 2 reasons for failing tests:
Both fixed, see attached patch
Comment #16
David Hernández commentedHello!
Thank you for working on this issue!
We should all try and use the same sprint tag. According to https://groups.drupal.org/node/447258 it should be SprintWeekend2015 with no #.
Comment #17
mile23Add @return to the docblock, please. https://www.drupal.org/coding-standards/docs#return
Comment #18
valthebaldAdded @return to docblock per #17
Comment #19
mile23Thanks... But now there has to be an empty line before the @return annotation. :-)
So like this:
Comment #20
valthebaldHere we go!
Comment #21
valthebaldRemoved extra space in separator comment line
Comment #23
mile23Diggit. :-)
Refactors
ajax_test_dialog_contents()intoAjaxTestController::dialogContents().Comment #25
alexpottComment #26
aspilicious commentedComment #27
aspilicious commentedComment #28
aspilicious commentedI just rerolled this one. ANd triple checked my reroll was complete.
Comment #29
wim leersLooks good!
RTBC++
Comment #30
alexpottCommitted fa9e185 and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.