Thank you for your answer! This means, that default view form will check if the property is present before trying to show it and :
- either won't show anything if it's an old object (without that property, from the previous schema) - or generating the default value for it for that object Or is it that I have to override the default view to have my own template that check properties on the object to show only the ones this object has? Thanks! serge 2013/10/31 Steve McMahon <[email protected]> > The basic answer is that you typically don't need to worry about it beyond > making sure you set a reasonable default in the declaration. > > After that, the only thing you really need to do is have some defensive > coding in anything that tries to use the attribute (like a template) to do > something reasonable if its absent. > > > On Thu, Oct 31, 2013 at 12:51 AM, Serge Renfer <[email protected]>wrote: > >> Hello, >> >> I've been searching for doc on how to update existing objects when for >> example you add a property in dexterity interface! >> >> I'm quite sure a doc exists on that matter, but I can't get a hold on it! >> >> If any of you could give me pointers on that! >> >> Thanks! >> serge >> >> _______________________________________________ >> Product-Developers mailing list >> [email protected] >> https://lists.plone.org/mailman/listinfo/plone-product-developers >> >> > > _______________________________________________ > Product-Developers mailing list > [email protected] > https://lists.plone.org/mailman/listinfo/plone-product-developers > >
_______________________________________________ Product-Developers mailing list [email protected] https://lists.plone.org/mailman/listinfo/plone-product-developers
