Re: effective date and content status modify
Nathan Van Gheem <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.devel |
|---|---|
| Message-ID | <CAL8hw9G8sp54uo1hRT0qd7mp4hejx4CWyVGU+9EoXyDF6Mu7vw@mail.gmail.com> |
IIRC, in some cases the string 'None' is actually saved... yah... On Tue, Jun 24, 2014 at 6:30 AM, Thomas Desvenain < [email protected]> wrote: > > > > 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 > > -- Nathan Van Gheem Solutions Architect Wildcard Corp ------------------------------------------------------------------------------ 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