Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
field system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
15 Jul 2009 at 23:57 UTC
Updated:
20 Mar 2020 at 16:52 UTC
Jump to comment: Most recent
Comments
Comment #1
quicksketchComment #2
yched commentedDuh :-/
Comment #3
bjaspan commentedHook tests would be pretty easy to write for these two hooks following the pattern laid out in #489438: hook_field_create_field() is missing, using field_test_memorize(). Is it reasonable to ask that the hook invocations addressed by this issue be tested along with the patch for this issue?
Incidentally, these bugs would have been found by the tests for all Field API hooks requested in #370872: Tests for field_attach hooks.
Comment #4
quicksketchIt seems fair enough that the bug would be fixed separate of the tests, especially since there's a pending issue (since February) to test such functionality. Tests shouldn't hold up fixing of critical bugs, especially since it's been noted that we need to add tests for this functionality anyway. Can't we fix this then continue in the issue you noted?
Comment #5
bjaspan commentedThe committer can decide.
Comment #6
quicksketchThis patch is part of several bugs that need to be fixed for #391330-33: File Field for Core to even start working somewhat correctly. I'd just prefer not to have such a slew of patches applied on my sandbox (not to mention potential testers) that complicate further development.
Comment #7
drewish commentedsubscribing.
Comment #8
dries commentedI committed the patch to CVS HEAD to de-block other issues, but I'm marking it as 'code needs work' so we follow-up with tests. Thanks!