Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40391 - Can't rename objects in Zope 2.6.3
Summary: Can't rename objects in Zope 2.6.3
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: net-zope (OBSOLETE)
URL: http://medusa.phys.uvic.ca:8080/manage
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-04 10:53 UTC by Jan Van Uytven
Modified: 2004-02-04 12:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Van Uytven 2004-02-04 10:53:42 UTC
For the demo site above, use user 'guest' with password 'guest'. 'guest' has manage privileges. The site is unimportant, don't worry about breaking anything.

On two separate machines now I've emerged zope-2.6.3 and plone. I have made no hchanges to the base install and, besides plone, I've added no other products.

On both machines I tried adding a folder and then renaming it. In both cases, the rename failed. 

Reproducible: Always
Steps to Reproduce:
1.Point your browser to http://medusa.phys.uvic.ca:8080/manage
2.Log in as user 'guest' with password 'guest'
3.Add a folder to the root folder
4.Try to rename it.

Actual Results:  
The operation failed. The Zope error log gives the following information:

Exception traceback
Time 	2004/02/04 10:45:05.776 US/Pacific
User Name (User Id) 	admin (admin)
Request URL 	http://medusa.phys.uvic.ca:8080/manage_renameForm
Exception Type 	AttributeError
Exception Value 	max

Traceback (innermost last):

    * Module ZPublisher.Publish, line 98, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 39, in call_object
    * Module Shared.DC.Scripts.Bindings, line 261, in __call__
    * Module Shared.DC.Scripts.Bindings, line 292, in _bindAndExec
    * Module App.special_dtml, line 174, in _exec
    * Module DocumentTemplate.DT_In, line 703, in renderwob
    * Module DocumentTemplate.DT_Util, line 201, in eval
      __traceback_info__: _
    * Module <string>, line 0, in ?

AttributeError: max

Display traceback as text
REQUEST
form
manage_renameForm	'Rename'
ids	['test']
cookies
tree-s	'eJzT0MgpMOQKVneEA09bda4CI67EkgJjLj0AeJsHfw'
lazy items
SESSION	<bound method SessionDataManager.getSessionData of <SessionDataManager
instance at 8caffb8>>
other
AUTHENTICATION_PATH	''
PATH_INFO	'/manage_renameForm'
URL1	'http://medusa.phys.uvic.ca:8080'
management_page_charset	'iso-8859-1'
BASE2	'http://medusa.phys.uvic.ca:8080/manage_renameForm'
BASE1	'http://medusa.phys.uvic.ca:8080'
traverse_subpath	[]
SERVER_URL	'http://medusa.phys.uvic.ca:8080'
BASEPATH1	''
PUBLISHED	<DTMLFile instance at 848c930>
URL	'http://medusa.phys.uvic.ca:8080/manage_renameForm'
AUTHENTICATED_USER	admin
TraversalRequestNameStack	[]
ids	['test']
URL0	http://medusa.phys.uvic.ca:8080/manage_renameForm
URL1	http://medusa.phys.uvic.ca:8080
BASE0	http://medusa.phys.uvic.ca:8080
BASE1	http://medusa.phys.uvic.ca:8080
BASE2	http://medusa.phys.uvic.ca:8080/manage_renameForm
environ
SCRIPT_NAME	''
HTTP_ACCEPT_ENCODING	'gzip,deflate'
CONTENT_LENGTH	'49'
SERVER_PORT	'8080'
PATH_TRANSLATED	'/'
HTTP_ACCEPT
'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1'
GATEWAY_INTERFACE	'CGI/1.1'
CONTENT_TYPE	'application/x-www-form-urlencoded'
HTTP_ACCEPT_LANGUAGE	'en-us,en;q=0.5'
REMOTE_ADDR	'142.104.60.110'
SERVER_NAME	'medusa.phys.UVic.CA'
HTTP_USER_AGENT	'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20040106
Firebird/0.7'
HTTP_ACCEPT_CHARSET	'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
CONNECTION_TYPE	'keep-alive'
channel.creation_time	1075920286
SERVER_PROTOCOL	'HTTP/1.1'
HTTP_KEEP_ALIVE	'300'
HTTP_HOST	'medusa.phys.uvic.ca:8080'
REQUEST_METHOD	'POST'
PATH_INFO	'/'
SERVER_SOFTWARE	'Zope/(Zope 2.6.3 (source release, python 2.1, linux2), python
2.1.3, linux2) ZServer/1.1b1'
HTTP_COOKIE	'tree-s="eJzT0MgpMOQKVneEA09bda4CI67EkgJjLj0AeJsHfw"'
HTTP_REFERER	'http://medusa.phys.uvic.ca:8080/manage_main?update_menu=1'

Expected Results:  
It should have opened a form prompting for rename information.

Other operations such as add, delete, copy, cut and paste seem to be working
normally.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-04 10:58:10 UTC
please try zope_2.6.4rc1
Comment 2 Jan Van Uytven 2004-02-04 12:42:25 UTC
Thank you, that fixed the problem. I assume this a problem with 2.6.3?