After installing the product in a Plone 5 instance, going to the Keyword Manager tool and typing a keyword causes the livesearch to show an error:
This is the traceback:
2023-05-15 16:41:23,453 ERROR [Zope.SiteErrorLog:252][waitress-0] 1684168883.4533610.9454730681320828 http://localhost:8080/Plone/keywordsmanager-search-json
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 162, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 359, in publish_module
Module ZPublisher.WSGIPublisher, line 262, in publish
Module ZPublisher.mapply, line 85, in mapply
Module ZPublisher.WSGIPublisher, line 63, in call_object
Module Products.PloneKeywordManager.browser.prefs_keywords_view, line 178, in __call__
Module Products.PloneKeywordManager.browser.prefs_keywords_view, line 197, in results
Module <decorator-gen-2>, line 2, in get_tool
Module plone.api.validation, line 81, in wrapped
Module plone.api.portal, line 131, in get_tool
plone.api.exc.InvalidParameterError: Cannot find a tool with name 'portal_keyword_manager'.
Available tools are:
portal_setup
portal_actions
portal_catalog
portal_controlpanel
portal_diff
portal_groupdata
portal_groups
portal_memberdata
portal_membership
portal_migration
portal_password_reset
portal_properties
portal_quickinstaller
portal_registration
portal_skins
portal_types
portal_uidannotation
portal_uidgenerator
portal_uidhandler
portal_url
portal_view_customizations
portal_workflow
portal_form_controller
portal_transforms
portal_archivist
portal_historiesstorage
portal_historyidhandler
portal_modifier
portal_purgepolicy
portal_referencefactories
portal_repository
portal_resources
portal_registry
portal_drafts
The problem seems to be that the portal_keyword_manager was removed but the from has not been updated to not use it.
I haven't tested version 6 since I am on Plone 5, but looking at the code, it seems this shouldn't be broken in there.
After installing the product in a Plone 5 instance, going to the Keyword Manager tool and typing a keyword causes the livesearch to show an error:
This is the traceback:
The problem seems to be that the
portal_keyword_manager
was removed but the from has not been updated to not use it.I haven't tested version 6 since I am on Plone 5, but looking at the code, it seems this shouldn't be broken in there.