effective date and content status modify
Thomas Desvenain <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <CAFn5D-go_qxUNr+FJ2vVmGuvZs6GeTDM46x6rme3qJ-FaAhjXQ@mail.gmail.com> |
Hi, This is about the ticket : https://dev.plone.org/ticket/14193#comment:3 Effective date is updated only when we publish content using content_status_modify script, and not when we publish content via a content rule. Why not moving default value in a subscriber on IActionSucceedEvent ? if the value is set in parameters of content_status_modify, we use editContent, then, in the subscriber, we set current date only if value is not already set. by the way, i have a question : why do we test there context.EffectiveDate() =='None' and not context.EffectiveDate() ==None Thanks, -- Thomas Desvenain Téléphone : 09 51 37 35 18 ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Plone-developers mailing list Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/plone-developers