CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #38290

Empty typoscript for facet leads to fatal error when rendering through facet view helper

Added by Constantin Lebrecht 12 months ago. Updated 11 months ago.

Status:Closed Start date:2012-06-22
Priority:Should have Due date:
Assignee:Ingo Renner % Done:

100%

Category:Frontend Plugins
Target version:2.2
TYPO3 Version: Has patch:
PHP Version: Tags:
Votes: 0

Description

If typoscript option plugin.tx_solr.search.faceting.facets.type is emptied by > operator, the FE results in Fatal Error.

I fixed this error by adding a null check for parameter $facetField to function getFacetFieldOptions in file class.tx_solr_search.php

Affected Version is solr 2.6

revision.diff (422 Bytes) Constantin Lebrecht, 2012-06-22 11:44

Associated revisions

Revision 9c234f45
Added by Ingo Renner 11 months ago

[BUGFIX] Empty typoscript for facet leads to error in facet view helper

Fixes: #38290

History

Updated by Ingo Renner 12 months ago

  • Assignee set to Ingo Renner
  • Target version set to 2.2

Updated by Ingo Renner 12 months ago

  • Subject changed from Empty typoscript for facet option type leads to Fatal Error to Empty typoscript for facet leads to fatal error when rendering through facet view helper
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

fixed in dkd-EAP r 98927

Updated by Ingo Renner 11 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF