plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
254 stars 191 forks source link

iconresolver: support for extended icon names as contenttype/news-item broken #3458

Closed MrTango closed 2 years ago

MrTango commented 2 years ago

Extended names are currently not correctly supported:

This registration can't be found with the current publishtraverse implementation:

  <record name="plone.icon.contenttype/news-item">
    <field type="plone.registry.field.TextLine">
      <title>Plone News Item</title>
    </field>
    <value key="resource">++plone++bootstrap-icons/file-earmark-richtext.svg</value>
  </record>

please also document this in https://github.com/plone/documentation/blob/6-dev/docs/classic-ui/icons.md

petschki commented 2 years ago

this is fixed with #3512 ... see https://demo-latest-plone6.plone.org/@@iconresolver/contenttype/document for example