On 30 August 2010 18:03, Hanno Schlichting <ha...@hannosch.eu> wrote: > On Mon, Aug 30, 2010 at 10:16 AM, Wichert Akkerman <wich...@wiggy.net> wrote: >> On 8/30/10 01:59 , Martin Aspeli wrote: >>> On 30 August 2010 08:26, Wichert Akkerman<wich...@wiggy.net> wrote: >>> >>>> Do you expect people to always use that calling convention? >>> >>> No, but I expect objects to always have a UUID. :) > > Should objects get a UUID when being created inside portal_factory?
This depends. In the AT branch for PLIP #10778, IUUID(context) behaves exactly the same as the context.UID(), and the UID is assigned at the exact same time. For non-AT objects, portal_factory is probably a non-issue. > Kapil made a distribution > (http://svn.plone.org/svn/collective/experimental.portalfactoryfix/trunk/) > to make most of our code aware of portal_factory and avoid creating > items in the first place. I think we want to merge this back into core > and at that point the same logic should apply to plone.app.uuid. I think the two issues are quite separate, but +1. Martin _______________________________________________ Framework-Team mailing list Framework-Team@lists.plone.org http://lists.plone.org/mailman/listinfo/framework-team