Hi, I get the following error when upgrading:
Service unavailable (with message) ResponseText: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'tnid' in where clause is ambiguous: SELECT COUNT(*) AS expression FROM (SELECT 1 AS expression FROM {node} n LEFT JOIN {entity_translation_upgrade_history} etuh ON n.nid = etuh.nid WHERE (etuh.complete IS NULL OR etuh.complete = 0) AND (tnid <> :db_condition_placeholder_0) AND (tnid <> nid) AND (n.type IN (:db_condition_placeholder_1)) ) subquery; Array ( [:db_condition_placeholder_0] => 0 [:db_condition_placeholder_1] => treatment ) in entity_translation_upgrade_do() (linea 65 di D:\www\lannagaia\webroot\sites\all\modules\entity_translation\entity_translation_upgrade\entity_translation_upgrade.admin.inc).
Comment | File | Size | Author |
---|---|---|---|
#1 | ambiguous_tnid-1667582-1.patch | 825 bytes | peximo |
Comments
Comment #1
peximo CreditAttribution: peximo commentedAttached patch should fix the bug.
Comment #2
plachCommitted and pushed, thanks!