[Product-Developers] Create new plone.app.page type

Martin Aspeli optilude+lists at gmail.com
Fri Jul 22 12:28:55 UTC 2011


On 22 July 2011 11:57, Maarten Kling <maarten at fourdigits.nl> wrote:
> having: http://pastie.org/2253425
>
> import works.
>
> when adding file the layout is already different from page, when saving:
> http://pastie.org/2253430

Clearly there are some bugs here :)

I'm afraid you'll need to debug this and try to contribute a fix. I'd
start by looking why the importer doesn't work (missing property
declaration?) and then get the property to be set properly.

Martin

> On 7/22/11 11:32 AM, Martin Aspeli wrote:
>>
>> On 22 July 2011 08:41, Maarten Kling<maarten at fourdigits.nl>  wrote:
>>>
>>> py: http://pastie.org/2252677
>>> person xml: http://pastie.org/2252684
>>> types.xml: http://pastie.org/2252685
>>> the error when importing: http://pastie.org/2252691
>>
>> This could be a bug in the Page FTI or in the GS import handler: It
>> seems it doesn't know how to import default_page_layout as a property.
>>
>> http://svn.plone.org/svn/plone/plone.app.page/trunk/plone/app/page/profiles/default/types/page.xml
>> doesn't have this property set since it relies on the default value in
>> the FTI itself.
>>
>> What happens if you just remove this property?
>>
>> Martin
>
> --
> Maarten Kling
> http://fourdigits.nl/mensen/maarten-kling
>
> Four Digits BV
> http://www.fourdigits.nl
> Willemsplein 44, 6811 KD, Arnhem
> tel: +31 (0)26 4422700 fax: +31 (0)84 2206117
> KVK 091621370000 BTW 8161.22.234.B01
>
>


More information about the Product-Developers mailing list