Closed (duplicate)
Project:
Organic Groups
Version:
master
Component:
og.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 May 2006 at 20:27 UTC
Updated:
19 Jun 2006 at 19:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
pwolanin commentedI've also gotten the exact same error messages described at: http://drupal.org/node/63392
However, they have not really recurred in the last couple days. I did set the search module to re-index, so maybe that solved it. OG access control is has been enabled throughout.
Comment #2
pwolanin commentedI take it back- it happened again today, but it seems as though the frequency and number of errors has been reduced.
Also, to dispute the hypothesis of this post, another user seeing these errors does not have OG installed:
http://drupal.org/node/63407
Comment #3
mgabalins commentedWhen I switch of OG access control all new nodes get indexed, whe I switch it back new added nodes are not indexed any more, but instead I got error in log from taxonomy module.
Modules installed(enabled) in my case:
- attachment
- block
- book
- bookmarks
- comment
- contact
- filemanager
- filter
- help
- image
- menu
- node
- og
- og_basic
- page
- path
- profile
- search
- smtp
- story
- system
- taxonomy
- tinymce
- tracker
- user
- watchdog
- workspace
Comment #4
mgabalins commentedPutting number of debuging prints etc etc. - found that node data is not being loded by node_load (called from node_update_index, called from serach_cron). Select statement generated form noda date load looks something like this:
this statement works just fine, however after db_query_rewrite SQL statement looks like this:
and this statement returns empty set - just for the record for this particular node which I traced:
So I hope someone familiar with Organic group access control may give some input here.
Sincerely
Maris
Comment #5
mgabalins commentedProbably the most reasonable approach would be to disable rewriting during CRON run - directly in node.module (or at least add additional parameter &rewrite=true to node_load (and change call appropriately). As In understand similarar not idexeing behaviour have cropped out also for people not usig OG, but other access control schemas, reason mey be same.
Comment #6
pwolanin commentedLooks like this should be reclassified as a core or search module issue if it's not specific to any particular access control module.
Comment #7
nikle commentedHas anyone come up with a quick fix in the meantime?
Comment #8
mgabalins commentedYes there is patch created at http://drupal.org/node/64857
Comment #9
nikle commentedThanks for the follow up Maris. I have replaced node.module with your new file however suffer fromt he same problem. I have tried reindexing the search and running site.com/cron.php however I still have 0% indexed.
Are there any additional steps which need to be taken? Running 4.7.1
Comment #10
mgabalins commentedHi,
This uploaded module actually was from 4.7.0 distribution, I have patch for 4.7.1 (attached)
It worked for me, so it is difficult to say what may be reason, if it is not working for You.
Sincerely
Maris
Comment #11
moshe weitzman commentedare these missing nodes marked as public? if not, they are being rightfully omitted from search which attempts to index everything as an anonymous user would see it.
Comment #12
mgabalins commentedHi,
Hi, those nodes are not marked as public, however I think You are wrong becouse those nodes still have to be included in search index, otherwise even authprised users are not able to find them - e.g. decision about weather to show node in search result is shown should be determined when search is executed, not when index is made.
Maris
Comment #13
nikle commentedI wouldn't go to say that Moshe is wrong as this is likely the programed behavior of the module; however, I agree that I would like the functionality of non-public nodes being indexed. I am using drupal to facilitate sharing readings, notes and class info; however, only students registered in the class (in the organic group) should have access to the content. These students still want to be able to search through all the content.
Would this require additional work on Organic Groups or perhaps on the Search? Furthermore does anyone know if the securesite module can help?
Comment #14
pwolanin commentedI think this is not specific to OG, and is rather a Drupal search module problem
see: http://drupal.org/node/64857
Comment #15
killes@www.drop.org commentedhttp://drupal.org/node/64857