If you add the field 'Content translation: Translate link (Translate link)' to a view, to following error appears:
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sid0330.node_revisions' doesn't exist
This is because the table 'field_revisions' is renamed to 'field_revision', which is not done yet in views_handler_field_node_link_translate.inc.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1112352-field-translate.patch | 1.46 KB | dawehner |
Comments
Comment #1
johnvI thought a patch was very simple, but the field format has moved, too, to the Field_revision_* tables, and the query remains empty, becaus field 'node_revision.format AS node_revision_format' does not exist..
It is still to be ported to D7.
Comment #2
dawehnerHere is a port of it.
Comment #3
dawehnerOkay commited to 7.x-3.x
Comment #5
Jerome F commentedIs this really fixed? (running Drupal core 7.2 / views and Internationalization last git)
When I add the field 'Content translation: Translate link I receive this debug message:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'node_revision.format' in 'field list'in views_plugin_query_default->execute() (line 1377 of /Users/jerome/Sites/acquia-drupal/sites/all/modules/views/plugins/views_plugin_query_default.inc).
Comment #6
dawehner#1139754: Use the real entity status instead of dummy to check access in edit link would fix this issue.
Comment #7
Jerome F commentedthank you for the provided link dereine!
Comment #8
merlinofchaos commented