[TYPO3-core] RFC: #9944: Feature: Unneccessary wildcard string comparisons in EM

Marcus Krause marcus#exp2008 at t3sec.info
Wed Dec 17 14:30:50 CET 2008


Marcus Krause schrieb am 15.12.2008 14:52 Uhr:
> Dmitry Dulepov schrieb:
>> Hi!
>>
>> Marcus Krause wrote:
>>> [...]
>>> Notes: The patch reorders parameters of method
>>> searchExtensionsXML(), i.e. not appending the new parameter at the
>>> end but instead in between existing ones. I now that this breaks
>>> backward compatibility but I took care that all method calls in
>>> module em are updated to reflect this. [...]
>> I understand the reasons very well and I agree with them. But any
>> XCLASSes will be broken by this change and we do not normally do
>> this. I have no idea if any XCLASS exist for these classes. If no, we
>> can freely go.
>>
>> Another (more safe) option is to introduce a different function,
>> named "searchExtensionsXMLExact" and use it.
> 
> I found an extension (rscliem - generally useful!) that calls the method.
> 
> Therefore I'll follow your 2nd suggestion. ;-)

and here it is:


As proposed, I now introduce a new wrapper method 
"searchExtensionsXMLExact()" with the same signature as the origin 
"searchExtensionsXML()".


Marcus.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9944_v2.diff
Type: text/x-diff
Size: 5976 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081217/141b0c3e/attachment.diff 


More information about the TYPO3-team-core mailing list