When there isn't a vocabulary coupled to the 'forum topic' $node->type, there automaticcally is being made a vocabulary 'Forums'. this is all going very well, accept the fact that the satus message isn't returned..
It's good to know hen drupal does things automaticcally...
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | tax-watchdogs.patch | 2.76 KB | Zen |
| #12 | log_taxonomy_changes_1.patch | 2.67 KB | profix898 |
| #10 | log_taxonomy_changes_0.patch | 2.67 KB | profix898 |
| #6 | log_taxonomy_changes.patch | 2.38 KB | profix898 |
Comments
Comment #1
profix898 commentedMaybe add watchdog message when creating vocabulary.
Comment #2
Zen commentedMarking as minor.
Thanks
-K
Comment #3
Zen commentedComment #4
magico commentedComment #5
Zen commentedI believe this is more of a taxonomy module issue - it does not have a single watchdog call. Fixing it should fix the forum module issue as well.
This is an administration usability issue.
-K
Comment #6
profix898 commentedThis very simple patch logs (create/update/delete term/vocab) changes in taxonomy to the watchdog.
Comment #7
Zen commentedHi,
I think that the vocabulary and term names need to be wrapped in a theme_placeholder call. Looks good otherwise.
-K
Comment #8
profix898 commented1. What's different in passing the string to drupal_set_message() from passing it to watchdog()?
2. %var is using placeholder, not? (! = insert directly, @ = check_plain, % = check_plain+placeholder)
Comment #9
Zen commentedYou're quite right - that is the case for HEAD; something I was unaware of.
I'll let somebody else with a checkout of HEAD review this.
Cheers,
-K
Comment #10
profix898 commentedAdded a 'edit' link to watchdog to go directly to created/modified vocabulary/term.
Comment #11
drummpatching file modules/taxonomy/taxonomy.module
Hunk #1 FAILED at 277.
Hunk #2 succeeded at 373 (offset 21 lines).
Hunk #3 succeeded at 455 (offset 36 lines).
Hunk #4 succeeded at 596 (offset 51 lines).
1 out of 4 hunks FAILED -- saving rejects to file modules/taxonomy/taxonomy.module.rej
Comment #12
profix898 commented... Patch rerolled ...
Comment #13
Zen commentedPatch still applies. Minor change: "Term %term has been updated" ought to be "Updated term %term" for consistency with all the other messages in the module. Updated and setting to RTBC.
Comment #14
dries commentedCommitted to CVS HEAD. Thanks.
Comment #15
drummCommitted to 5.
Comment #16
(not verified) commented