[TYPO3-commerce] FYI96: #6662: Related product without valid article causes PHP error

Sascha Egerer seg at softvision.de
Tue Mar 2 18:56:58 CET 2010


Hi,

this is a SVN patch request.

Type: Bugfix

Branches: trunk, 0.11

Forge reference: http://forge.typo3.org/issues/show/6662

Problem:

A product with a related product which has no active article end in an 
PHP error
PHP Fatal error: Call to a member function returnAssocArray() on a 
non-object in 
XXX/typo3conf/ext/commerce/lib/class.tx_commerce_pibase.php on line 634

Solution:

Products without articles should not be returned by the 
tx_commerce_product->getRelatedProducts function.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: issue_6662.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-commerce/attachments/20100302/8d19e37d/attachment.txt>


More information about the TYPO3-team-commerce mailing list