[Product-Developers] Re: Objects in folder not orderable

Alex Clark aclark at aclark.net
Wed Nov 12 18:32:01 UTC 2008


Oh, and why not put your blog on planet? (If it is not already)

On 2008-11-12, Alex Clark <aclark at aclark.net> wrote:
> On 2008-11-12, Mikel Larreategi <mlarreategi at codesyntax.com> wrote:
>> The same happened to me last week. Your item has blank spaces in its 
>> portal type and have no meta type set apparently.
>>
>> http://www.codesyntax.com/cs-workshop/blog/i-cant-reorder-elements-in-a-folder
>>
>> Put a pdb in the ordering code (Archetypes/OrderedBaseFolder.py or 
>> something like that) and check the meta type of your objects and the 
>> meta type of the FTI, one will be "TodoItem" and the other "Todo Item".
>
> Wow, that is *really* annoying, thanks! That fixed my problem. Perhaps paster should 
> add the meta_type? I'm in development, so fortunately I didn't have to fix
> any existing content. 
>
> Thanks again! 
>
> I <3 product-developers
>
>> Mikel
>>
>
>


-- 
Alex Clark · http://aclark.net





More information about the Product-Developers mailing list