[ZCM] [ZC] 1217/ 6 Comment "Error in zmi when an object is named 'URL' or 'URL1'"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Fri Sep 24 10:00:31 EDT 2004


Issue #1217 Update (Comment) "Error in zmi when an object is named 'URL' or 'URL1'"
 Status Accepted, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/1217

==============================================================
= Comment - Entry #6 by regebro on Sep 24, 2004 10:00 am

Zope-Pre2.8 alsmot works. the treetag fails:

    *  Module ZPublisher.Publish, line 112, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module Shared.DC.Scripts.Bindings, line 306, in __call__
    * Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
    * Module App.special_dtml, line 175, in _exec
    * Module TreeDisplay.TreeTag, line 88, in render
    * Module TreeDisplay.TreeTag, line 193, in tpRender

Otherwise it seems fine. The related 545 issue is closed.
________________________________________
= Comment - Entry #5 by tim_one on Apr 27, 2004 5:54 pm


Uploaded:  "dtmhell.diff"
 - http://collector.zope.org/Zope/1217/dtmhell.diff/view
Just attaching the patch (dtmhell.diff) Jamie mailed to zope-dev.
________________________________________
= Comment - Entry #4 by leper on Apr 27, 2004 5:37 pm

http://marc.theaimsgroup.com/?l=zope-dev&m=108310171308965&w=2
________________________________________
= Comment - Entry #3 by leper on Apr 27, 2004 5:29 pm

I'll mail a patch to zope-dev because this collector continues to be unable to collect patches from authenticated users.

It by no means addresses the issue in its entirety, but it gives you the general idea of what needs to be done over the entire source tree.  DTML is a painful tool to use correctly, and I won't be submitting a more complete patch as I don't have the time or desire to do so.

Yes the code could be made more susinct and easy to read with appropriate use of <dtml-with> and/or <dtml-let> statements.

________________________________________
= Accept - Entry #2 by mjablonski on Apr 26, 2004 3:37 am

 Status: Pending => Accepted

 Supporters added: mjablonski

Jamie Heilman wrote on zope-dev: 

"Accept, they are completely fixable.  I've probably already fixed those bugs in my fork, I'll hunt around and see if I can find the relevant files and post followups to the bugs."

Please note: This one is related to 

http://zope.org/Collectors/Zope/545
________________________________________
= Request - Entry #1 by ebrun on Feb 4, 2004 9:22 am

When I create a object (like Folder or DTMLMethod or ...) with name 'URL' or 'URL1' .... , I can't access to the content of my parent folder which contain this new folder :


Zope Error
Zope has encountered an error while publishing this resource.

Error Type: AttributeError
Error Value: __getslice__

I think its a conflic namespace between REQUEST object and Folder Object in the manage_main methed (OFS/dtml/main.dtml). 
Note I try it on Zope.org : no problem to create but then I can't copy/paste anything in my folder : the same error happened.
In the copy / paste the problem is the same because when REQUEST is not None in manage_copyObjects and manage_cutObjects
the returned method is self.manage_main(self, REQUEST).
==============================================================



More information about the Zope-Collector-Monitor mailing list