Skip to content

Commit

Permalink
Merge pull request #49 from plone/tomgross-patch-1
Browse files Browse the repository at this point in the history
Fix for #48
  • Loading branch information
datakurre committed Sep 20, 2016
2 parents 9ed1404 + e639159 commit e738347
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
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)

0 comments on commit e738347

Please sign in to comment.