Closed (fixed)
Project:
Drupal core
Version:
6.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Sep 2006 at 14:38 UTC
Updated:
21 Jan 2009 at 00:59 UTC
see title. is trivial bug fix, so rtbc
| Comment | File | Size | Author |
|---|---|---|---|
| patch_123 | 433 bytes | moshe weitzman |
Comments
Comment #1
drummI'd call this an API change. I won't commit it without further discussion about the impact on contrib modules being updated.
Comment #2
webchickThis would be easy to tell, by searching contrib for '_comment(' and seeing if the modules in question contained .info files. If not, they haven't been ported to HEAD yet. If so, see if they implement the form op.
My guess is the number of contrib modules affected would be next to nothing if this was done soon.
Comment #3
moshe weitzman commentedwe fixed loads of bugs like this after the feature freeze last time. further, we don't support multiple ways of doing things. i hope webchick's reply is sufficient. please postpone or commit this.
Comment #4
dries commentedLet's figure out how many modules are using this ...
Why is this a 'bug'?
Comment #5
drummThe last feature freeze isn't the best example a feature freeze we want to repeat.
Webchick just provided instructions for how to research this. Those would need to be acted upon.
This reminds me of the node module patch that removed a bunch of hooks and got reversed.
I think this is an okay patch, but I think it should wait for API development to open up again unless clearly demonstrated otherwise.
Comment #6
moshe weitzman commentedwe avoid offerring multiple ways of doing same thing. this comment form is inconsistent with every other form in drupal (multiple ways to alter it). thus i call it a bug. others are welcome to call it a shoe or a tree or whatever they please.
are we trying to determine the number of modules that already upgraded to HEAD and kept this code in? that seems to me to be the only interesting number.
a module that uses the comment('form') hook just needs to move same code into its hook_form_alter() and remove a return. hardly onerous.
Comment #7
drummIt is still an API change. No one has done any research into this (only how to do the research).
I'd be willing to commit well-written function documentation saying this is deprecated and alter should be used instead.
Comment #8
moshe weitzman commentedstill applies, with offset. and still a good idea.
Comment #9
dries commentedCommitted to CVS HEAD. Thanks.
Comment #10
(not verified) commentedComment #11
heine commentedThis needs to be documented in the API docs and the update guide.
Comment #12
catchComment #13
moshe weitzman commentedI just updated the API docs.
Comment #14
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #15
dww*ahem*, finally added to the upgrade docs since I ran into this over at #361649: Issue comments broken in D6 HEAD:
http://drupal.org/node/114774/revisions/view/405000/421906
Also setting the title back for posterity...