Just update to beta 2,
trying to merge 2 terms, I receive the following error:
Si è verificato un errore HTTP in AJAX. Codice HTTP di risposta: 500 Di seguito le informazioni di debug. Percorso: /batch?id=106&op=do StatusText: Service unavailable (with message) ResponseText: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'tid' cannot be null: INSERT INTO {taxonomy_index} (nid, tid, sticky, created) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3), (:db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7), (:db_insert_placeholder_8, :db_insert_placeholder_9, :db_insert_placeholder_10, :db_insert_placeholder_11), (:db_insert_placeholder_12, :db_insert_placeholder_13, :db_insert_placeholder_14, :db_insert_placeholder_15), (:db_insert_placeholder_16, :db_insert_placeholder_17, :db_insert_placeholder_18, :db_insert_placeholder_19); Array ( [:db_insert_placeholder_0] => 23 [:db_insert_placeholder_1] => 70 [:db_insert_placeholder_2] => 0 [:db_insert_placeholder_3] => 1322680828 [:db_insert_placeholder_4] => 23 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => 0 [:db_insert_placeholder_7] => 1322680828 [:db_insert_placeholder_8] => 23 [:db_insert_placeholder_9] => 72 [:db_insert_placeholder_10] => 0 [:db_insert_placeholder_11] => 1322680828 [:db_insert_placeholder_12] => 23 [:db_insert_placeholder_13] => 73 [:db_insert_placeholder_14] => 0 [:db_insert_placeholder_15] => 1322680828 [:db_insert_placeholder_16] => 23 [:db_insert_placeholder_17] => 74 [:db_insert_placeholder_18] => 0 [:db_insert_placeholder_19] => 1322680828 ) in taxonomy_field_update() (linea 1771 di /var/www/my-site.com/modules/taxonomy/taxonomy.module).
Nodes associated to old term are not merged to the new one, but only decoupled from old term
Thank you for resolving this
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | term_node-tid_not_a_property-1409114.patch | 586 bytes | blazindrop |
Comments
Comment #1
nylin commentedThank you for your bug report, please try the latest development release and see if the error exists there as well.
Comment #2
mxtI can't find a 7.x-2.x-dev release on the project page.
Can you insert that link?
Thank you
Comment #3
nylin commentedSure man, here ya go: http://ftp.drupal.org/files/projects/term_merge-7.x-1.x-dev.tar.gz
Comment #4
mxtThank you but I'm using 7.x-2.x not 7.x-1.x
Comment #5
quinnanya commentedThe dev release you posted fixed the problem for me, even though the module version number is different (I was having problems with 7.x-2.0-beta, and fixed it by installing 7.x-1.x-dev.)
Comment #6
blazindrop commentedI'm receiving the same error (although a different line in taxonomy_field_update()) even with the 7.x-2.x dev version
MXT - can you give a traceback?
Comment #7
blazindrop commentedWhen merging two terms on our site, we would get this error as described in #6. Spent some time tracking this down and came up with the attached patch against 7.x-1.x - tid isn't a property (each item in the array is the term ID itself).
Comment #8
mxtA new cumulative patch against 7.x-2.0-beta has been posted here: http://drupal.org/node/1160612
Comment #9
bucefal91 commentedHello, everybody!
I know there's been time since this issue was touched, there has been a general code rewrite in this module and the newest and quite stable version of it can be found at 7.x-1.x-dev branch. Please download it and check it. report back any bugs found. We are on our way to doing the first stable release of this module for D7.
Comment #10
bucefal91 commentedGuys, I am closing this issue because the module seems in working conditions and the issue itself seems dead.