Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-3196

UnsupportedOperationException thrown by cmsu:img tag for non-binary nodedata

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.3.2
    • 4.3.1
    • None
    • None

      Using cmsu:img with an existing non-binary nodedata causes an UnsupportedOperationException. Before 4.3 this was not happening, the image was simply not printed out.

      Caused by: java.lang.UnsupportedOperationException: Attributes are only supported for BINARY type
      	at info.magnolia.cms.core.AbstractNodeData.getAttribute(AbstractNodeData.java:176)
      	at info.magnolia.cms.beans.runtime.FileProperties.getProperty(FileProperties.java:156)
      	at info.magnolia.cms.taglibs.util.ImgTag.doEndTag(ImgTag.java:150)
      

        Acceptance criteria

              fgiust Fabrizio Giustina
              fgiust Fabrizio Giustina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD