Closed (fixed)
Project:
Search API Solr
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 May 2013 at 16:31 UTC
Updated:
12 Jun 2013 at 16:40 UTC
Properties on objects should never be cleared by using unset(), as this will not just set the property to NULL, but completely erase it, subsequently leading to notices like the following:
Notice: Undefined property: SearchApiSolrService::$solr in connect() (line 325 of …/search_api_solr/includes/service.inc).
We do this in SearchApiSolrService::setConnectionClass() and SearchApiSolrConnection::setBaseUrl(). The code still works fine, but the notices are still annoying and it should still be fixed.
Comments
Comment #1
drunken monkeyFixed with commit c4e2fdc.