[Zope-CMF] Re: Bad interaction between CMF 1.4 and Zope 2.8 (catalog-getObject-raises)

2005-06-02 Thread Chris Withers

Tres Seaver wrote:

Exactly.  The point is that the "adverse effect" *already happened*, in
some prior request, probably due to one of Chris' beloved hasattrs ;).
The current request should *not* be prevented from continuing.


Why not?


Chris, take this as a fiat:  this one will *never* turn into an exception.


It's already an exception, you and Florent seem intent on burying that
fact. Can you give me some specific examples in the past of where this
has been of benefit?

Every single time I've encountered this, the fact that the exception is
caught has been a total hinderance :-(

That said, I'm also aware that there are currently 4 of us talking about
this, 2 on each side. What does the rest of the community think?

cheers,

Chris


--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


[Zope-CMF] DCWorkflow question...

2005-06-02 Thread Dmitry S. Makovey

I've got workflow which runs script upon transition. At some point In 
that script I'm trying to get info on what state I'm in via:
st=getattr(state_change,'new_state')
and it appears to be working only with 'Manager' role which mean that 
I have to give that script "proxy role" of manager which I was trying 
to avoid. Is there any other way, and why new_state, old_state and 
transition attributes are so strictly guarded?

-- 
Dmitry Makovey
Web Systems Administrator
Athabasca University
http://www.athabascau.ca
http://www.makovey.net


pgpHceKnyxM20.pgp
Description: PGP signature
___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


Re: [Zope-CMF] Re: [CMF-checkins] CVS: Products/CMFCore - DirectoryView.py:1.47.2.7

2005-06-02 Thread Chris Withers

Dieter Maurer wrote:


You asked for this a long time ago and I responded (a long time ago!):

You turn the warning (all of them, if you like) into exceptions
and you get a nice traceback.

You find details in the description of the Python (command) options
or the module "warnings".


OK. Thanks. Having had a hunt around, I see there's also a Zope.conf 
section for this...


cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk

___
Zope-CMF maillist  -  Zope-CMF@lists.zope.org
http://mail.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests


[Zope-CMF] CMF Collector: Open Issues

2005-06-02 Thread tseaver
The following supporters have open issues assigned to them in this collector
(http://www.zope.org/Collectors/CMF).

Assigned and Open


  efge

- "CMFSetup doesn't correctly detect DCWorkflow on export",
  [Accepted] http://www.zope.org/Collectors/CMF/298


  gregweb

- "CMFUid.UniqueIdGeneratorTool's counter may return double unique ids",
  [Accepted] http://www.zope.org/Collectors/CMF/306


  jens

- "Confusing date criteria in CMFTopic",
  [Accepted] http://www.zope.org/Collectors/CMF/339

- "FSPropertiesObject.py cannot handle multiline input for lines, text 
attributes",
  [Accepted] http://www.zope.org/Collectors/CMF/271


  mj

- "CMFSetup doesn't correctly detect DCWorkflow on export",
  [Accepted] http://www.zope.org/Collectors/CMF/298


Pending / Deferred Issues

- "DCWorkflow: cannot define variable 'meta_type'",
  [Pending] http://www.zope.org/Collectors/CMF/45

- "DefaultDublinCore should have Creator property",
  [Pending] http://www.zope.org/Collectors/CMF/61

- "acl_users/roster",
  [Pending] http://www.zope.org/Collectors/CMF/63

- "Where did index_html_utils.html come from?",
  [Pending] http://www.zope.org/Collectors/CMF/93

- "iso-8859-2 in CMF ?",
  [Pending] http://www.zope.org/Collectors/CMF/160

- "Debuggable scripts",
  [Pending] http://www.zope.org/Collectors/CMF/194

- "formatRFC822Headers weakness?",
  [Pending] http://www.zope.org/Collectors/CMF/230

- "CMFCalendar weekday locale issue",
  [Pending] http://www.zope.org/Collectors/CMF/237

- "CMFCalendar: Events ending on midnight",
  [Pending] http://www.zope.org/Collectors/CMF/246

- "Wrong cache association for FSObject",
  [Pending] http://www.zope.org/Collectors/CMF/255

- "CMFSetup: Windows exports contain CR/LF, LF and even CR newlines",
  [Pending] http://www.zope.org/Collectors/CMF/266

- "Unable to copy/import site due to talkbalk attribute assumptions",
  [Pending] http://www.zope.org/Collectors/CMF/282

- "PortalCatalog.ZopeFindAndApply should probably also search in 
opaqueItems",
  [Pending] http://www.zope.org/Collectors/CMF/296

- "WorkflowTool should recurse into opaqueItems",
  [Pending] http://www.zope.org/Collectors/CMF/297

- "ToolInit icon error",
  [Pending] http://www.zope.org/Collectors/CMF/305

- "add External Methods to workflow script handling",
  [Pending] http://www.zope.org/Collectors/CMF/329

- "FSFile and FSImage don't update caching headers for 304 responsens",
  [Pending] http://www.zope.org/Collectors/CMF/333

- "Can't invalidate skin items in a RAMCacheManager",
  [Pending] http://www.zope.org/Collectors/CMF/343

- "MembershipTool inconsistency",
  [Pending] http://www.zope.org/Collectors/CMF/354


Pending / Deferred Features

- "Favorite.py: queries and anchors in remote_url",
  [Pending] http://www.zope.org/Collectors/CMF/26

- "TTW configuration of registration tool",
  [Pending] http://www.zope.org/Collectors/CMF/32

- "Provide delete reply function to standard skins that come with CMF",
  [Pending] http://www.zope.org/Collectors/CMF/38

- "Allow flexible date editing in Event.py (CMFCalendar)",
  [Pending] http://www.zope.org/Collectors/CMF/40

- "Topic should be catalogued",
  [Pending] http://www.zope.org/Collectors/CMF/53

- "Make changeFromProperties accept sequences too",
  [Pending] http://www.zope.org/Collectors/CMF/99

- "path criteria on Topic should honor VHM",
  [Pending] http://www.zope.org/Collectors/CMF/111

- "having a locale.pot file should ease the process of translating CMF",
  [Pending] http://www.zope.org/Collectors/CMF/155

- "french translation for CMF 1.4",
  [Pending] http://www.zope.org/Collectors/CMF/157

- "Document.py: universal newlines",
  [Pending] http://www.zope.org/Collectors/CMF/174

- "Permissions in PortalFolder: invokeFactory()",
  [Pending] http://www.zope.org/Collectors/CMF/175

- "Add condition for transition's action like other action",
  [Pending] http://www.zope.org/Collectors/CMF/207

- "Major action enhancement",
  [Pending] http://www.zope.org/Collectors/CMF/232

- "portal_type is undefined in initialization code",
  [Pending] http://www.zope.org/Collectors/CMF/248

- "Action._listsActions() should be more safe",
  [Pending] http://www.zope.org/Collectors/CMF/253

- "FSZSQLMethod.py",
  [Pending] http://www.zope.org/Collectors/CMF/273

- "Expose Document text_format metadata",
  [Pending] http://www.zope.org/Collectors/CMF/285

- "customization of type of homefolder on creation",
  [Pending] http://www.zope.org/Collectors/CMF/288

- "CMFSetup: provide non-ascii im- and exports",
  [Pending] http://www.zope.org/Collectors/CMF/292

- "Allow contentFilter to use review_state",
  [Pending] http://www