Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming Image and File objects via ZMI is broken #247

Closed
icemac opened this Issue Feb 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@icemac
Copy link
Member

icemac commented Feb 2, 2018

It results in the following traceback

Traceback (most recent call last):
  File ".../waitress-1.1.0-py2.7.egg/waitress/channel.py", line 338, in service
    task.service()
  File ".../waitress-1.1.0-py2.7.egg/waitress/task.py", line 169, in service
    self.execute()
  File ".../waitress-1.1.0-py2.7.egg/waitress/task.py", line 399, in execute
    app_iter = self.channel.server.application(env, start_response)
  File ".../fanstatic-1.0.0-py2.7.egg/fanstatic/publisher.py", line 224, in __call__
    return self.app(environ, start_response)
  File ".../fanstatic-1.0.0-py2.7.egg/fanstatic/injector.py", line 64, in __call__
    response = request.get_response(self.app)
  File ".../WebOb-1.7.4-py2.7.egg/webob/request.py", line 1327, in send
    application, catch_exc_info=False)
  File ".../WebOb-1.7.4-py2.7.egg/webob/request.py", line 1291, in call_application
    app_iter = application(self.environ, start_response)
  File ".../Zope/src/ZPublisher/httpexceptions.py", line 33, in __call__
    return self.application(environ, start_response)
  File ".../Zope/src/ZPublisher/WSGIPublisher.py", line 256, in publish_module
    response = _publish(request, new_mod_info)
  File ".../Zope/src/ZPublisher/WSGIPublisher.py", line 209, in publish
    bind=1)
  File ".../Zope/src/ZPublisher/mapply.py", line 85, in mapply
    return debug(object, args, context)
  File ".../Zope/src/ZPublisher/WSGIPublisher.py", line 56, in call_object
    return obj(*args)
  File ".../Zope/src/OFS/CopySupport.py", line 316, in manage_renameObjects
    self.manage_renameObject(ids[i], new_ids[i], REQUEST)
  File ".../Zope/src/OFS/CopySupport.py", line 329, in manage_renameObject
    ob = self._getOb(id)
  File ".../Zope/src/OFS/ObjectManager.py", line 300, in _getOb
    raise AttributeError(id)
AttributeError

Used version: master (aka 4.0b3)

@icemac icemac modified the milestones: 4.0b3, 4.0b4 Feb 2, 2018

@icemac icemac self-assigned this Mar 22, 2018

icemac added a commit that referenced this issue Mar 22, 2018

@icemac icemac closed this in #257 Mar 28, 2018

icemac added a commit that referenced this issue Mar 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.