Drupal input filters path related ( Pathologic, Ckeditor link) with language detection based on url- path prefix break backlins view
The bug occurs only with url alias enabled for the referred node.
Entity translation plays very well with the above input filters if the language detection is based on other criteria( e.g. user language preference) ( still need some work, because when the language is changed, clear cache is required for updating the links).
About backlinks: Backlins ships with default views package, using contextual filter Search: Links to, based on search_node_links table.
This table is updated by function search_index from core search.module on cron event. It seems that the above filters break this process
Reported in the filter's queue #1913194: Pathologic and Entity Translation break backlinks view and #1911122: Ckeditor link filter and Entity Translation break backlinks view
Thanks!
Comments
Comment #1
plachPlease, provide a more meaningful bug report.
Comment #2
Drupa1ish commentedIt seems that backlinks view breaks only if http://drupal.org/project/ckeditor_link + Entity Translation + url alias all enabled for a content type. I shall be back with detailed report
Comment #3
Drupa1ish commentedThe issue comes from the combination of http://drupal.org/project/ckeditor_link + http://drupal.org/project/entity_translation + url alias enabled
But only the CKEditor Link Filter , that Converts links added through CKEditor Link into aliased and language prefixed URLs, breaks the things. Search module cannot insert in search_node_links due to this filter and entity translation together and views backlinks block is empty.
Therefore, my workaround is to use insted http://drupal.org/project/intlinks as filter and still keep enabled the Ckeditor link autocomplete plugin
We have the following use cases:
1) http://et.debu.eu/en/node/2 Backlinks ok
Ckeditor filter enabled, but Entity Translations disabled for content type basic page( with basic_body field)
2) http://et.debu.eu/en/node/4 ( child et page) Backlinks ok
Entity Translation enabled, but node/4 has no alias, therefore Ckeditor filter has no effect
3) http://et.debu.eu/en/child-url-alias Backlinks missing from http://et.debu.eu/en/parent-url-alias-et-page
Entity Translation Enabled, Ckeditor filter enabled for filtered HTML
4) http://et.debu.eu/en/pathologic-child-alias Backlinks missing from http://et.debu.eu/en/pathologic-parent-alias
Entity Translation Enabled, Pathologic filter enabled for full HTML
Comment #4
Drupa1ish commentedComment #5
Drupa1ish commentedLinked with #1911122: Ckeditor link filter and Entity Translation break backlinks view . Later to close one as duplicate.
Comment #6
plachComment #7
Drupa1ish commentedhttp://drupal.org/project/pathologic and ET also break backlinks view, reported at #1913194: Pathologic and Entity Translation break backlinks view.
Maybe the title of should change to something like Drupal input filters path related ( Pathologic, Ckeditor link) with Entity Translation break backlins view
Comment #8
Drupa1ish commentedAfter more testing, I’ve reached the conclusion that this issue is not Entity Translation related. The tiltle should be updated to Drupal input filters path related ( Pathologic, Ckeditor link) with language detection based on url- path prefix break backlins view
Comment #9
Drupa1ish commentedComment #9.0
Drupa1ish commentedUpdate description the bug is generated by language detection based on url- path prefix with drupal filter path related.
Comment #9.1
Drupa1ish commentedReported in the filter's queue #1913194: Pathologic and Entity Translation break backlinks view and #1911122: Ckeditor link filter and Entity Translation break backlinks view
Comment #10
Drupa1ish commentedIn order to show that the issue is not Entity Translation related, please see http://drupal.org/node/1911122#comment-7051026 and http://drupal.org/node/1913194#comment-7051028
Comment #10.0
Drupa1ish commentedtypo