collective / collective.folderishtraverse

Traverse to first item in folder
https://pypi.python.org/pypi/collective.folderishtraverse
GNU General Public License v2.0
3 stars 1 forks source link

Support for Plone 5 plone.app.contenttypes folder. #6

Closed agitator closed 5 years ago

thet commented 5 years ago

@agitator is this really necessary? The plone.app.contenttypes folder should also implement plone.folder.interfaces.IFolder. I also had never problems using this package under Plone 5. See:

>>> from plone.app.contenttypes.interfaces import IFolder
>>> from plone.folder.interfaces import IFolder
>>> from plone.app.contenttypes.interfaces import IFolder as ctf
>>> from plone.folder.interfaces import IFolder as pff
>>> ctf.providedBy(app.Plone.events)
True
>>> pff.providedBy(app.Plone.events)
True
agitator commented 5 years ago

weird... seems the extra view registration isn't necessary anymore can confirm, released version works with 5.1.4