Last modified: 2012-02-06 20:56:57 UTC
When our remote Lucene index server hits our wiki through OAI, the following PHP notices are generated: PHP Notice: Undefined property: stdClass::$rev_len in /path/w/includes/Export.php on line 514 PHP Notice: Undefined property: stdClass::$rev_len in /path/w/includes/Export.php on line 541 The hits causing these kinds of errors look like: GET /w/index.php?title=Special:OAIRepository&verb=ListRecords&metadataPrefix=mediawiki&from=2012-02-06T14:20:02Z HTTP/1.1" 301 434 "-" "Java/1.6.0_20" GET /w/index.php?title=Special:OAIRepository&verb=ListRecords&metadataPrefix=mediawiki&from=2012-02-06T14:20:02Z HTTP/1.1" 200 161605 "-" "Java/1.6.0_20"
This occurs in 1.18.1. We are running the 1.18 versions of OAI, lucene-search, and MWSearch.
It happened in 1.17.1 as well.
Our OAI is actually out of date. I'll update and see if this fixes the problem.
I updated to the 1.18.x versions of OAI and MWSearch. The problem still exists.
We run lucene-search 2.1.3.
Created attachment 9961 [details] Provisional patch to OAIRepo_body.php This adds rev_len to the columns that get fetched from the OAI repo stuff; does it help?
Brion, your provisional patch seems to be working for us. The error has disappeared. Thank you!
Applied Brions patch in r110778 with some related refactoring