Re: effective date and content status modify

Thomas Desvenain <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CAFn5D-ie9bCMvJ=xwXRfuB+-K_TDF=FSCTirbzL3jyGx9xOJ5w@mail.gmail.com>
2014-06-24 9:19 GMT+02:00 Luca Fabbri <[email protected]>:

> On Mon, Jun 23, 2014 at 8:51 PM, Thomas Desvenain
> <[email protected]> wrote:
> > by the way, i have a question : why do we test there
> > context.EffectiveDate() =='None' and not context.EffectiveDate() ==None
> >
>
> Where do you find that line? I only see
>     context.EffectiveDate() =='None'
>
> https://github.com/plone/Products.CMFPlone/blob/1453b0c517615a576465efbaaae69ae06c5028ae/Products/CMFPlone/skins/plone_form_scripts/content_status_modify.cpy#L32
>
>
>
Indeed, i wonder why we have this 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
> >
>
>
>
> --
> -- luca
>
> twitter: http://twitter.com/keul
> linkedin: http://linkedin.com/in/lucafbb
> blog: http://blog.keul.it/
>



-- 
Thomas Desvenain

Téléphone : 09 51 37 35 18

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.