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

export_content raises AttributeError: get with Plone 2.8.7 #47

Closed
rpijlman opened this issue May 7, 2021 · 2 comments
Closed

export_content raises AttributeError: get with Plone 2.8.7 #47

rpijlman opened this issue May 7, 2021 · 2 comments

Comments

@rpijlman
Copy link

rpijlman commented May 7, 2021

Same issue as #48

Commit 192fed7 in collective.jsonify 1.5 causes an exception in export_content with Zope 2.8.7-final, python 2.3.5, linux3:

Traceback (most recent call last):
File "/home/software/zope/2.8/lib/python/ZPublisher/Publish.py", line 114, in publish
request, bind=1)
File "/home/software/zope/2.8/lib/python/ZPublisher/mapply.py", line 88, in mapply
if debug is not None: return debug(object,args,context)
File "/home/software/zope/2.8/lib/python/ZPublisher/Publish.py", line 40, in call_object
result=apply(object,args) # Type s to step into published object.
File "/home/software/zope/2.8/lib/python/Products/ExternalMethod/ExternalMethod.py", line 225, in call
try: return f(*args, **kw)
File "/home/zope/productie/Extensions/json_methods.py", line 16, in export_content
extra_skip_classname=[], # optional list of classnames to skip
File "/home/software/python/2.3.5/lib/python2.3/site-packages/collective.jsonify-1.5-py2.3.egg/collective/jsonify/export.py", line 266, in export_content
write(walk(self, skip_callback=skip_callback))
File "/home/software/python/2.3.5/lib/python2.3/site-packages/collective.jsonify-1.5-py2.3.egg/collective/jsonify/export.py", line 337, in write
for item in items:
File "/home/software/python/2.3.5/lib/python2.3/site-packages/collective.jsonify-1.5-py2.3.egg/collective/jsonify/export.py", line 299, in walk
item = folder.get(item_id)
AttributeError: get

@rpijlman rpijlman closed this as completed May 7, 2021
@rpijlman
Copy link
Author

rpijlman commented May 7, 2021

Duplicate of #48

@ale-rt
Copy link
Member

ale-rt commented May 7, 2021

Sorry I missed you already opened an issue for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants