Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
simpletest.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
24 Apr 2013 at 17:30 UTC
Updated:
29 Jul 2014 at 22:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
plopescHello
Attaching patch that converts simpletest_test_form() to a Controller.
Regards
Comment #2
plopescRe-rolling improved patch.
Regards.
Comment #3
ParisLiakos commentedhi! Great job, thanks!
i think its good to go:)
Comment #4
ParisLiakos commented#1978982: Convert simpletest_result_form to a Controller was committed first, so now we need to fix the @todo there
Comment #5
ParisLiakos commentedhere it is
Comment #6
dawehnerGreat!
Comment #7
alexpottI'm not sure that this is the right thing to do... and might turn out to be quite brittle... this kind of implies that the
SimpletestResultsFormis a special case of theSimpletestTestFormand can share validator's etc... I don't think this is the case. For instance, if for whatever reason we add validation toSimpletestTestForm... then we'll have to add an emptyvalidateForm()method toSimpletestResultsFormI think in
SimpletestResultsForm::submitForm()we should create a new instance ofSimpletestTestFormand submit it.Comment #8
Crell commentedI'm inclined to agree with Alex. This doesn't strike me as a "is a special case of" relationship.
Comment #9
dawehnerThat's indeed a good idea. Do you think this comment describes what we are doing?
Comment #10
alexpottYep comment looks good to me... will leave for someone else to rtbc so I can commit :)
Comment #11
Crell commentedGet with the committing, dude!
Comment #12
alexpottCommitted b8ddc39 and pushed to 8.x. Thanks!