Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-4508

Some classes reference non-existing "unknown content-type" images

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.4.2, 3.5
    • 3.4.1
    • None
    • None

      Some java classes reference non-existing "unknown content-type" images (SearchGenerator, GlobalContentConsistencyGenerator and WorkflowTasksComponent):

      org.ametys.cms.repository.SearchGenerator
      ContentType contentType =  _contentTypeExtensionPoint.getExtension(content.getType());
      
      attrs.addCDATAAttribute("smallIcon", contentType != null ? contentType.getSmallIcon() : "/plugins/cms/resources/img/contenttype/unknown_16.png");
      attrs.addCDATAAttribute("mediumIcon", contentType != null ? contentType.getMediumIcon() : "/plugins/cms/resources/img/contenttype/unknown_32.png");
      attrs.addCDATAAttribute("largeIcon", contentType != null ? contentType.getLargeIcon() : "/plugins/cms/resources/img/contenttype/unknown_48.png");
      

      The contenttype/unknown_xx.png files do not exist, they should be replaced by unknown-small, unknown-medium and unknown-large.png files.

            laurence Laurence Aumeunier
            ngavalda Nicolas Gavalda (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: