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

Fix for #48 #49

Merged
merged 3 commits into from Sep 20, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGES.rst
Expand Up @@ -4,7 +4,8 @@ Changelog
2.0.0rc2 (unreleased)
---------------------

- Nothing changed yet.
- Fix recursion loop in existingcontent tile (#48)
[tomgross]


2.0.0rc1 (2016-09-15)
Expand Down
9 changes: 9 additions & 0 deletions plone/app/standardtiles/existingcontent.py
Expand Up @@ -120,4 +120,13 @@ def item_panels(self):
def __getattr__(self, name):
# proxy attributes for this view to the selected view of the content
# item so views work
if name in ('data',
'content_context',
'default_view',
'item_macros',
'item_panels',
'getPhysicalPath',
'index_html',
) or name.startswith(('_', 'im_', 'func_')):
return Tile.__getattr__(self, name)
return getattr(self.default_view, name)