[Zope-CMF] Problem in TypesTool with CMF1.5.1 and Zope2.8

2005-06-12 Thread Jo Meder

Hi there!

While testing CMF 1.5.1 with the new Zope 2.8 I stumbled upon a
problem with the creation of new objects. 

In its "_queryFactoryMethod"-method the TypesTool calls validate the
following way:

  getSecurityManager().validate(p, p, self.factory, m)

while the signature of validate (taken from
lib/python/AccessControl/ImplPython.py) is

  def validate(self, accessed, container, name, value, ...)

As after installing the new software the usual list of addable content
types turned up empty, I tried patching _queryFactoryMethod to use

  getSecurityManager().validate(p, container, self.factory, m)

instead, after checking that container indeed pointed to the object I
tried adding content to.

Now, this is strictly a "works for me"-solution, I don't know if it
breaks anything else or if it was only needed, since my CMF-instances
have been constantly upgraded since CMF 1.1.

Can anyone here shed some more light on this issue?

Jo.


-- 
internetmanufaktur jo- Berlin, Germany
  |||meder---fon: ++49-30-417 17 63 33
http://www.meder.de/ --- fax: ++49-30-417 17 63 45
Kollwitzstr. 75  mob: ++49-170- 2 98 89 97
10435 Berlin ---http://www.meder.de/keys/jo-pubkey.txt
___
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] Problem with the portlet calendar

2005-06-12 Thread Mike Jaeger
Hello members of the zope-cmf-list,

I have a question regarding the portlet calendar in Plone.
After entering an event, which takes for example 2 weeks (project), the 
timeframe is marked on blue background. I would like to have that only the 
start and finish date are marked, the dates between start and finish date 
should remain on white background. I have looked in the code of CalendarTool.py 
and calendar_portlet, but it wasn't crowned with success. I have also looked 
for the problem in the internet, but I thing that I am the first person who 
requires this feature. Any idea how to get this feature without big hacking?
Is it possible to modify the queries on the portal_catalog?
Thank you in advance. 

Regards
Mike___
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-12 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