Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Comment | File | Size | Author |
---|---|---|---|
#13 | field-171131-13.patch | 17.47 KB | kid_icarus |
#13 | interdiff.txt | 2.28 KB | kid_icarus |
#10 | field-1711316-10.patch | 17.89 KB | kid_icarus |
#10 | interdiff.txt | 1.29 KB | kid_icarus |
#6 | field-1711316-6.patch | 17.89 KB | kid_icarus |
Comments
Comment #1
kid_icarus CreditAttribution: kid_icarus commentedI didn't change FieldAttachTestBase.php because things looked a little weird.
Same with FieldTestBase.php:
What of it?
Comment #2
kid_icarus CreditAttribution: kid_icarus commentedComment #3
tim.plunkettHm, I'll have to look into that tomorrow when I'm fully awake.
Don't forget about the stuff in core/modules/field/modules/*/lib.
Comment #4
kid_icarus CreditAttribution: kid_icarus commentedSo I think I got it right, but one thing I'm unsure about is removing the following chunk of documentation from FieldAttachTestBase and FieldTestBase
Comment #5
tim.plunkettThis comment should be moved up and fixed for the $modules docblock.
I don't think there's any need to add this, it can be left out.
Comment #6
kid_icarus CreditAttribution: kid_icarus commentedOk, here is my shot at correcting the docblock.
Comment #7
tim.plunkettThis wasn't actually related to the setUP stuff, I think it was a call for a new test method.
Missing a blank line
same
Comment #8
kid_icarus CreditAttribution: kid_icarus commentedShould this perhaps go inside the docblock for testCreateField()?
I'm still a little confused by this @todo, I know I changed the wording from 'cases above' to 'cases below', but are the 'two cases' in referense to parent::setUp('field_test', 'number')?
Comment #9
kid_icarus CreditAttribution: kid_icarus commentedWere you talking about adding
// field_update_field() tests use number.module
to the $modules docblock?Comment #10
kid_icarus CreditAttribution: kid_icarus commentedOkay, leaving the @todos per IRC message from @tim.plunkett
Here's a new patch which addresses the blank lines in #8
Comment #11
kid_icarus CreditAttribution: kid_icarus commentedComment #12
tim.plunkettSorry, I meant leave them where they are in the original code, they're not related to this change.
Comment #13
kid_icarus CreditAttribution: kid_icarus commented@tim.plunkett No problem :)
Addresses #12
Comment #14
tim.plunkettThanks!
Comment #15
Dries CreditAttribution: Dries commentedBy the way, it wouldn't hurt to re-roll all these issues into one patch. It's not very convenient to have 30 small patches. Any takers to do that? It would be tremendously helpful.
Comment #16
tim.plunkett