Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Path widget doesn't work if Plone site id is "plone" #182

@laulaz

Description

@laulaz

If you want to use the path widget with a plone site named plone, you get a traceback :

Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 155, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 337, in publish_module
  Module ZPublisher.WSGIPublisher, line 255, in publish
  Module ZPublisher.mapply, line 85, in mapply
  Module ZPublisher.WSGIPublisher, line 61, in call_object
  Module eea.facetednavigation.caching.nocache, line 12, in replacement
  Module eea.facetednavigation.widgets.path.tree, line 168, in json_tree
  Module eea.facetednavigation.widgets.path.tree, line 90, in tree
  Module plone.app.layout.navigation.navtree, line 133, in buildFolderTree
AttributeError: 'Plone' object has no attribute 'getPhysicalPath'

Indeed, self.context.unrestrictedTraverse(url.strip('/'), None) on /plone returns a Products.Five.browser.metaconfigure.Plone object ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions