Error when trying to assisgn porlet to content typel

Hello,

Plone 6.0.1 (6012)

I get this error when, from the "Content Settings" page, i press: "Manage portlets assigned to this content type"
Note: happens regardless if it is a new content type i created through Dex or an existing content type.
Should i post this as a bug in Plone, if so where ?

We’re sorry, but there seems to be an error…

Here is the full error message:

Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 181, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 390, in publish_module
Module ZPublisher.WSGIPublisher, line 285, in publish
Module ZPublisher.mapply, line 85, in mapply
Module ZPublisher.WSGIPublisher, line 68, in call_object
Module zope.browserpage.simpleviewclass, line 41, in call
Module Products.Five.browser.pagetemplatefile, line 126, in call
Module Products.Five.browser.pagetemplatefile, line 58, in call
Module zope.pagetemplate.pagetemplate, line 133, in pt_render
Module Products.PageTemplates.engine, line 365, in call
Module z3c.pt.pagetemplate, line 176, in render
Module chameleon.zpt.template, line 302, in render
Module chameleon.template, line 215, in render
Module chameleon.utils, line 53, in raise_with_traceback
Module chameleon.template, line 192, in render
Module abb7def86c55679e9dc8cdf8fa495947, line 303, in render
Module b5caaa91816f7479b1228b83a736c9cd, line 921, in render_master
Module b5caaa91816f7479b1228b83a736c9cd, line 1581, in render_content
Module abb7def86c55679e9dc8cdf8fa495947, line 145, in __fill_main
Module zope.tales.expressions, line 250, in call
Module Products.PageTemplates.Expressions, line 221, in _eval
Module Products.PageTemplates.Expressions, line 152, in render
Module plone.app.portlets.browser.manage, line 305, in portal_type_icon
AttributeError: 'LayoutPolicy' object has no attribute 'getIcon'

  • Expression: "context/main_template/macros/master"
  • Filename: ... ne/app/portlets/browser/templates/manage-content-type.pt
  • Location: (line 5: col 23)
  • Source: ... etal:use-macro="context/main_template/macros/master"
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  • Arguments: template: <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7f97abd94250>
    options: {}
    args: ()
    nothing: None
    modules: <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter object at 0x7f97b02e3f10>
    request: <WSGIRequest, URL=http://132.148.79.22:8080/ploneClassic/@@manage-content-type-portlets>
    view: <Products.Five.browser.metaconfigure.SimpleViewClass from /app/lib/python3.11/site-packages/plone/app/portlets/browser/templates/manage-content-type.pt object at 0x7f97a3478990>
    context: <PloneSite at /ploneClassic>
    views: <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7f97a35c3610>
    here: <PloneSite at /ploneClassic>
    container: <PloneSite at /ploneClassic>
    root:
    traverse_subpath:
    user: <PloneUser 'wglover'>
    default:
    repeat: <Products.PageTemplates.engine.RepeatDictWrapper object at 0x7f97a3462260>
    loop: {}
    target_language: None
    translate: <function BaseTemplate.render..translate at 0x7f97a3434180>
    macroname: 'master'
    attrs: {}

================
Thankss for any thoughts or ideas. I'd like to be able to assign a portlet to this content type

Hello, I submitted an issue and I see here: Fix error on manage-content-type-portlets view by davisagli · Pull Request #177 · plone/plone.app.portlets · GitHub

based on that link it appears to me the issue has been fixed.

I don't have any understanding regarding how code fixes get rolled into releases, so this question is based on that lack of knowledge

  • When/how do fixes get rolled into releases?
  • Do they need an advocate - someone to remind the release manager?

I realize this is a minor issue; however, it would e helpful to have it in the next release

This issue is still in 6.0.5