also see here: [#9707953] for pre-history in D6

almost the same story in D7.

We have some link rows show 'Permission restrictions ...' bec the current language is not the same as the language of the nodes in question...

To show all nodes for all languages there are several fixes possible.
1. Drop all node_access checking on line 223 and 235 in linkchecker.module ( using latest git verison as of now 11 Mar 2015) - just comment out query->addTag('node_access') . Optionally we can wrap this non-check-ing in some if ( user has perm 'bypass all node access checks on report page'

2. make language_switcher.module not so obtrusive/intrusive - see line 136 in language_switcher.module - they check if there is a field condition "language" in $query->getFields()...

imho - language_switcher should not deal at all with perm checking - its the job of i18n / i18n_select to do the node_access_alter-ing ?? anyone agree?

3. fool the language_switcher into believing there is already a language field condition in the query - so it does not impose the additional condition that in effect causes our 'Permission restrictions...' missing nodes in reports....

Peer opinions ? Our bug / lang switcher's bug ?
Best approach ?

user "hass" the maintainer - what do u think ?

Comments

rsvelko’s picture

I also created a support req issue here in the lang switcher module's que
#2450181: language_switcher might be breaking reports in linkchecker module

rsvelko’s picture

hint: for a fast fix - just comment out lines 223 and 235 in linkchecker.module

hass’s picture

Status: Active » Closed (duplicate)