[MAGNOLIA-3196] UnsupportedOperationException thrown by cmsu:img tag for non-binary nodedata Created: 09/May/10 Updated: 23/Jan/13 Resolved: 09/May/10 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 4.3.1 |
| Fix Version/s: | 4.3.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Fabrizio Giustina | Assignee: | Fabrizio Giustina |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Description |
|
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)
|
| Comments |
| Comment by Fabrizio Giustina [ 09/May/10 ] |
|
fixed in trunk for 4.3.2 |