[TYPO3-core] RFC: bug in befunc::getProcessedValues, when looking up MM-relations to the same table

Christian Jul Jensen julle at typo3.org
Sat Dec 17 12:40:39 CET 2005


Hey

This is a CVS patch request.

Type:
Bugfix

Branches:
HEAD

Description:
The function getProcessedValues in befunc, which is used to resolve the value 
of relations in tables for display, fails to fetch the correct the values if 
the relation is an MM to the same table.

 Also the MM resolving of values does not honor the parameter $noRecordLookup, 
which should return the uid rather than the 'title'. Actually it could be 
discussed if the this is the right behavoiur, taking the name of the variable 
into account, but I think it is the one that makes most sense, since the 
function can then be used to resolve relations to use in links etc.

The patch fixes these two issues.

-- 
Christian Jul Jensen

TYPO3 association
http://association.typo3.org

* this mail is signed with GnuPG. If all you 
* see is a file of unknown type, your mail client 
* does not support it, just ignore it, it is not
* a virus, or have a look at http://openpgp.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class.t3lib_befunc.diff
Type: text/x-diff
Size: 1326 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051217/eebe9ad7/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20051217/eebe9ad7/attachment.pgp 


More information about the TYPO3-team-core mailing list