Path

ez projects / eztags / forum / general / php / solr errors when usin...


php / solr errors when using an unpatched ezfind

You need to be logged in to post messages in the forums. New users may register here.

Gaetano Giunta

Member since:
01 May 2012

Posts: 265

Monday 14 May 2012 10:49:34 am

When using eztags, and ezfind with an unpatched schema, we get errors on both sides (ez and solr).
It would be nice if it the error messages where at least more indicative of the problem.

Proposal: in ezjscoretagssuggest.php, around line 100, check what has been returned by the solr search. If it is an error, log a warning that the ezfind schema might have to be altered, and avoid the php warning of invalid array used for foreach on line 105

Principal Consultant International Business
Member of the Community Project Board

Up

Edi Modrić

Member since:
22 January 2009

Posts: 59

Monday 14 May 2012 11:02:51 am

Good catch Gaetano, thanks for reporting it :)

Certified as an eZ Publish advanced developer on Sep 7th 2012
Certified as an eZ Publish basic developer on Jul 16th 2010

@: http://twitter.com/emodric
www: http://www.netgenlabs.com

Up

Edi Modrić

Member since:
22 January 2009

Posts: 59

Monday 14 May 2012 12:06:35 pm

Certified as an eZ Publish advanced developer on Sep 7th 2012
Certified as an eZ Publish basic developer on Jul 16th 2010

@: http://twitter.com/emodric
www: http://www.netgenlabs.com

Up

You need to be logged in to post messages in the forums. New users may register here.