[Zope-CMF] CMF Collector: Open Issues

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

Assigned and Open


  jens

- Discussion replies removal,
  [Accepted] http://www.zope.org/Collectors/CMF/391


  mhammond

- Windows DevelopmentMode penalty in CMFCore.DirectoryView,
  [Accepted] http://www.zope.org/Collectors/CMF/366


Pending / Deferred Issues

- 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

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

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

- CMFSetup: Workflow Tool export fails with workflows which have scripts,
  [Pending] http://www.zope.org/Collectors/CMF/373

- CMFCore.Skinnable.SkinnableObjectManager can merge skin data,
  [Pending] http://www.zope.org/Collectors/CMF/375

- Proxy Roles does't work for a Script using portal_catalog.searchResults,
  [Pending] http://www.zope.org/Collectors/CMF/380

- WorkflowAction deprecated warning should not printed for WorkflowMethod,
  [Pending] http://www.zope.org/Collectors/CMF/388

- workflow notify success should be after reindex,
  [Pending] http://www.zope.org/Collectors/CMF/389

- came_from and VIRTUAL_URL problem,
  [Pending] http://www.zope.org/Collectors/CMF/393

- A workflow without managed permission can't be exported,
  [Pending] http://www.zope.org/Collectors/CMF/397

- Implicitly acquiring allow_discussion in isDiscussionAllowedFor,
  [Pending] http://www.zope.org/Collectors/CMF/398


Pending / Deferred Features

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

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

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

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

- 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

- CMFTopic Does Not Cache,
  [Deferred] http://www.zope.org/Collectors/CMF/295

- Wishlist: a flag that tags the selected action.,
  [Pending] http://www.zope.org/Collectors/CMF/301

- CMFDefault should make use of allowCreate(),
  [Pending] http://www.zope.org/Collectors/CMF/340

- Nested Skins,
  [Deferred] http://www.zope.org/Collectors/CMF/377

- CatalogVariableProvider code + tests,
  [Pending] http://www.zope.org/Collectors/CMF/378

- manage_doCustomize() : minor additions,
  [Pending] http://www.zope.org/Collectors/CMF/382

- First Day of Week,
  [Pending] http://www.zope.org/Collectors/CMF/400



___
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] Solution -- Re: VIRTUAL_URL and ACTUAL_URL

2006-01-22 Thread George Lee
A month and a half ago I wrote this list with a question about
REQUEST['VIRTUAL_URL'], which Plone / CMF used to determine the 'came_from'
variable on the login page. (When an anonymous user attempts to view a page that
requires a login, Plone / CMF / CookieCrumbler sets 'came_from' to remember
where to redirect the user after the login).

In my Virtual Hosting setup, 'VIRTUAL_URL' was not being set, and 'came_from'
was set incorrectly.

It turns out that the error was that my hosting company had set up an enhanced
VirtualHostMonster using http://www.zope.org/Members/sfm/SiteAccessEnhanced/
that makes it easier to map domains to directories. However, this product is
outdated and does not set the 'VIRTUAL_URL'.

Some lessons learned:
  (1) Even if you have a product somewhere like
~/lib/python/Products/SiteAccess, it may not be the one actually used by your
instance. In my case, the updated VirtualHostMonster and SiteAccess was
overridden by the customized VirtualHostMonster and SiteAccess at
~/instance1/Products/SiteAccess. This conflit also shows up in the Zope log if
you take a look at it.
  (2) Using a python debugger is helpful! See
http://plone.org/documentation/how-to/using_pdb and
http://plone.org/documentation/tutorial/best-practices/debugging-plone for some
on debugging in Plone.

Peace,
George

___
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] bug on CMFonFive trunk

2006-01-22 Thread Rocky Burt
Hi all (Lennart),

I've been using CMFonFive 1.3.0 + Zope 2.9.0 + Plone 2.1.2 (svn up until
recently) quite successfully lately.  Due to work I need to do on my
CMFonFive branch I switched to the CMFonFive trunk (which will be 1.3.1)
and tried installing CMFonFive into my (new) Plone sites.  I'm getting a
problem (this error *does not* occur with the released version of
CMFonFive 1.3.1).  See the traceback of the error below.

The only difference I'm able to see between CMFonFive trunk and CMF
1.3.0 was a change made by Lennart which was in fiveactionstool.py and
of the effect:

-if isinstance(title, unicode):
+# Having bits of unicode here can make rendering very
confused,
+# so we convert it to plain strings, but NOT if it is a
+# messageID. In Zope 3.2 there are two types of messages,
+# Message and MessageID, where MessageID is depracated.
We can
+# type-check for both but that provokes a deprecation
warning,
+# so we check for the domain attribute instead.
+if not hasattr(title, 'domain'):
 title = str(title)
 act = ActionInformation(id=act_id,
 title=title,

So I'm guessing this problem has to do with the new checking?  Any
chance you could take a look, Lennart?

Traceback (innermost last):

* Module ZPublisher.Publish, line 113, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 40, in call_object
* Module Shared.DC.Scripts.Bindings, line 311, in __call__
* Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 195, in _exec
* Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
* Module Products.PageTemplates.PageTemplate, line 104, in pt_render
  FSPageTemplate at /sites/site1/document_view used for
/sites/site1/front-page
* Module TAL.TALInterpreter, line 238, in __call__
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 749, in do_useMacro
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 749, in do_useMacro
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 455, in do_optTag_tal
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 691, in do_loop_tal
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 457, in do_optTag_tal
* Module TAL.TALInterpreter, line 442, in do_optTag
* Module TAL.TALInterpreter, line 437, in no_tag
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 617, in do_insertTranslation
* Module TAL.TALInterpreter, line 281, in interpret
* Module TAL.TALInterpreter, line 541, in do_insertText_tal
* Module cgi, line 1039, in escape

AttributeError: 'NoneType' object has no attribute 'replace'

- Rocky

-- 
Rocky Burt
ServerZen Software -- http://www.serverzen.com
ServerZen Hosting -- http://www.serverzenhosting.net
News About The Server -- http://www.serverzen.net

___
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] Re: bug on CMFonFive trunk

2006-01-22 Thread Rocky Burt
Rocky Burt wrote:
 ... I'm getting a
 problem (this error *does not* occur with the released version of
 CMFonFive 1.3.1)...

Whoops, I meant released version of 1.3.0

- Rocky

-- 
Rocky Burt
ServerZen Software -- http://www.serverzen.com
ServerZen Hosting -- http://www.serverzenhosting.net
News About The Server -- http://www.serverzen.net

___
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