Ticket #5357 (closed Bug: fixed)
Plone not folderish for displayContentsTab.py
| Reported by: | method | Owned by: | method |
|---|---|---|---|
| Priority: | critical | Milestone: | 2.5 |
| Component: | Infrastructure | Keywords: | |
| Cc: |
Description
Gave an AttributeError: is_folderish for any portal view that used displayContentsTab.py.
Change History
comment:2 Changed 6 years ago by method
Maybe this is better.
Index: Portal.py =================================================================== --- Portal.py (revision 9320) +++ Portal.py (working copy) @@ -65,7 +65,9 @@
""" Set default so we can return whatever we want instead of index_html """ return getToolByName(self, 'plone_utils').browserDefault(self)
- + def is_folderish(self): + return True +
def index_html(self):
""" Acquire if not present. """ request = getattr(self, 'REQUEST', None)
Index: skins/plone_scripts/displayContentsTab.py
Note: See
TracTickets for help on using
tickets.

Index: Portal.py =================================================================== --- Portal.py (revision 9320) +++ Portal.py (working copy) @@ -65,7 +65,9 @@
- + def is_folderish(self): + return True +
Index: skins/plone_scripts/displayContentsTab.py