Closed (fixed)
Project:
Taxonomy Changed
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Sep 2013 at 16:29 UTC
Updated:
9 Mar 2014 at 05:40 UTC
Jump to comment: Most recent
hi guys,
when i create a term some db error appeared.about "taxonomy_changed_taxonomy_term_insert"
you can see the error image in attachment .
Please let me know if you would have any questions, objections, comments, suggestions, recommendations or concerns on any aspects of this bug report, I would be glad to provide more information or explain in more details.
Any questions, feedback, testing, changes, ideas or recommendations would be highly appreciated.
Thanks to all in advance.
| Comment | File | Size | Author |
|---|---|---|---|
| error-message.png | 25.52 KB | ycshen |
Comments
Comment #1
jerenus commentedHI ycshen,
You can test again for this problem. I just push some modification 4d50c3c. But I think hook_taxonomy_term_insert and hook_taxonomy_term_update may not be the best way. I am more inclined to use hook_taxonomy_term_presave to solve this problem. So, if you have any solution, update here please.
Thanks!
Comment #2
skyredwanghook_taxonomy_term_presave()should be implemented.Also, this module needs to implement hook_taxonomy_term_view, so that the changed datetime can be displayed.
Comment #3
jerenus commentedhook_taxonomy_term_presave() was implemented. See this commit b03bdb3.
Comment #4
jerenus commentedBut I don't know how to display the changed datetime. The view page? Devel page? or Edit page? For now, it can display in devel, taxonomy item load and so on. And following your advice, I use hook_taxonomy_term_view to make it display on view page too(Like nodes' changed display). Waiting for more feedback. The patch you can see here c5dcb55.
Comment #5
jerenus commented