[TYPO3-mvc] RFC: #8083 define default __toString method in Tx_Extbase_DomainObject_AbstractDomainObject

Marc Bastian Heinrichs typo3 at mbh-web.de
Wed Nov 10 10:29:14 CET 2010


Hi list,

This is an SVN patch request.

Type: Bug

Bugtracker reference:
http://forge.typo3.org/issues/8083

Branches:
trunk, 1.2

Problem:
Since the LazyLoadingProxy want's to call a __toString method there
should be a default __toString method in
Tx_Extbase_DomainObject_AbstractDomainObject which returns the object's uid.

Solution:
Add magic method __toString to return the uid


Note:
Related issue fixing LazyLoadingProxy is
http://forge.typo3.org/issues/7558


Regards,
Marc Bastian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 8083_AbstractDomainObject_v2.patch
URL: <http://lists.typo3.org/pipermail/typo3-project-typo3v4mvc/attachments/20101110/9530fbbf/attachment.asc>


More information about the TYPO3-project-typo3v4mvc mailing list