[drupal-docs] [bug] Parse error in node_example.module

webchick drupal-docs at drupal.org
Thu Aug 25 04:19:41 UTC 2005


Issue status update for 
http://drupal.org/node/29602
Post a follow up: 
http://drupal.org/project/comments/add/29602

 Project:      Documentation
 Version:      <none>
 Component:    Developer Guide
 Category:     bug reports
 Priority:     critical
 Assigned to:  Anonymous
 Reported by:  webchick
 Updated by:   webchick
-Status:       patch (code needs review)
+Status:       fixed

Sorry to keep spamming. ;(


chx informed me that it's ok to submit patches directly to
documentation, so I've just updated it in CVS. Marking issue fixed.
I'll try to go through the other examples in the next couple days to
check for similar problems.




webchick



Previous comments:
------------------------------------------------------------------------

Thu, 25 Aug 2005 02:28:19 +0000 : webchick

Attachment: http://drupal.org/files/issues/node_example_filter.patch (802 bytes)

Wasn't sure where exactly to file this; hopefully this is right.


node_example.module makes reference to a non-existant
filter_tips_short() function (can't find anything on this function
previous to Drupal 4.4). This new version removes function call
altogether, and everything seems to work fine, but review would be
appreciated in case I totally missed something. :)




------------------------------------------------------------------------

Thu, 25 Aug 2005 02:32:00 +0000 : webchick

Forgot to mention; with the code the way it is now, the example won't
work at all... after enabling the module, if you try and create an
"example node" content type, you receive the error that the function is
undefined and it won't progress further.







More information about the drupal-docs mailing list