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

Plone 4.3.x - plone.app.iterate - Fix exception for dexterity content types when get working copy #1541

Closed
rodfersou opened this issue Apr 20, 2016 · 3 comments

Comments

@rodfersou
Copy link
Member

rodfersou commented Apr 20, 2016

2016-04-20 11:18:43 ERROR plone.app.viewletmanager rendering of plone.abovecontent in plone.app.iterate.baseline_info fails: getBRefs
Traceback (most recent call last):
  File "/srv/cache/eggs/plone.app.viewletmanager-2.0.9-py2.7.egg/plone/app/viewletmanager/manager.py", line 110, in render
    html.append(viewlet.render())
  File "/srv/cache/eggs/plone.app.iterate-2.1.14-py2.7.egg/plone/app/iterate/browser/info.py", line 98, in render
    working_copy = self.working_copy()
  File "/srv/cache/eggs/plone.memoize-1.1.2-py2.7.egg/plone/memoize/instance.py", line 51, in memogetter
    val = func(*args, **kwargs)
  File "/srv/cache/eggs/plone.app.iterate-2.1.14-py2.7.egg/plone/app/iterate/browser/info.py", line 109, in working_copy
    refs = self.context.getBRefs( WorkingCopyRelation.relationship )
AttributeError: getBRefs
@rodfersou rodfersou changed the title Plone 4.3.x - plone.app.iterate show info viewlet for not authenticated user Plone 4.3.x - plone.app.iterate - Fix exception for dexterity content types when get working copy Apr 20, 2016
@frapell
Copy link
Sponsor Member

frapell commented May 6, 2016

@rodfersou Next time, when you include something like "fixes gh-1541" in the commit message itself, then not only the commit gets linked with the issue, but the issue gets closed automatically when the PR is merged in :)

@frapell frapell closed this as completed May 6, 2016
@frapell
Copy link
Sponsor Member

frapell commented May 6, 2016

@rodfersou heh, sorry, they are coming from different packages, I'm not sure if you can link it like I said from the commit msg... too early for me ;)

@rodfersou
Copy link
Member Author

@frapell no problem!

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