[TYPO3-commerce] RFC: #7476: bug: hook processItemArrayForBrowseableTreeDefault must have return value
Ralf Merz
ralf at ralf-merz.de
Tue Apr 27 13:25:14 CEST 2010
Hi,
sorry, this was the wrong list.
I´ve just posted it to typo3.teams.commerce
Sorry.
Greets
Ralf
On 2010-04-27 11:01:11 +0200, Ralf Merz <ralf at ralf-merz.de> said:
> This is an SVN patch request.
>
> Type: Bug
>
> Bugtracker references:
> http://forge.typo3.org/issues/show/7476
>
> Branches:
> commerce trunk Revision: 32595
>
> Problem:
> The hook processItemArrayForBrowseableTreeDefault in
> treelib/class.tx_commerce_treelib_tceforms.php has no return value, but
> should have one, so that the itemArray[] can be filled by this hook.
>
> Solution:
> The function call $hookObj->processDefault($itemFormElValue, $table,
> $uid) returns a string that is written to the $itemArray[].
>
> Notes:
> The rendering of the Category tree and the selected categories is
> needed in commerce_coupons extension. Coupons can have related
> categories. The hook is implemented so we can store the related
> categories (in coupons) as comma-separated list without prefix.
> See my description on forge.
>
> Looking forward to your reviews.
> Regards
> Ralf Merz
--
Ralf Merz
Dipl.-Ing. (FH)
merzilla
TYPO3 development, hosting, service
More information about the TYPO3-project-commerce
mailing list