[TYPO3-core] RFC #10245: adding itemsProcFunc to wizard functionality

Kai Vogel kai.vogel at speedprogs.de
Mon Feb 21 10:18:17 CET 2011


 Hi Sven,

 you're totally right, many core methods throw notices. When 
 contributing new code we have the opportunity to do it better. I'd 
 suggest to use the notice-free code I provided. Do you agree?

 Best regards
-- 
 Kai Vogel



 On Mon, 21 Feb 2011 09:46:05 +0100, Sven Juergens wrote:
> Am 18.02.11 22:40, schrieb Kai Vogel:
>> Hi Sven,
>>
>> your version will always throw a notice if the array key
>> "itemsProcFunc." is not defined. This is the case when the user has 
>> no
>> additional configuration for the itemsProcFunc. Line 11 in my patch 
>> will
>> prevent this. And line 10 does the same than yours, but with less 
>> words.
>> ;-)
>>
>> Best regards
>
> Hey Kay,
>
> I take the code from the function getSingleField_typeSelect(), if it
> throw a notice than it should be fixed in that function too.
> What do you think ?
>
> Best Regards
> Sven
>
>
> _______________________________________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
>
> http://typo3.org/teams/core/core-mailinglist-rules/
> http://typo3.org/development/bug-fixing/diff-and-patch/
> _______________________________________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core



More information about the TYPO3-team-core mailing list