There was a change to core/src/main/resources/lib/hudson/ballColorTd.jelly that replaced iconSize with iconSizeClass:

  • <img src="" alt="${it.description}"
    - tooltip="${it.description}" style="${attrs.style}" class="icon${iconSize}"/>
    + <l:icon class="${it.iconClassName} ${iconSizeClass}" alt="${it.description}"
    + tooltip="${it.description}" style="${attrs.style}" />

In cases where iconSize is being set by a jelly attribute, iconSize is converted to iconSizeClass:

<!-- convert legacy @iconSize specification to @iconSizeClass -->
<j:if test="${iconSizeClass==null and attrs.iconSize!=null}">
<j:set var="iconSizeClass" value="${icons.toNormalizedIconSizeClass(attrs.iconSize)}"/>
</j:if>

However, it looks like the iconSize is set as a variable in the build statistics jelly file.

dashboard-view-plugin/src/main/resources/hudson/plugins/view/dashboard/stats/StatBuilds/statbuilds.jelly:

<j:set var="iconSize" value="16x16" />
...
<t:ballColorTd it="${col.key}" />

So, either the plugin needs to be updated to use iconSizeClass or pass the iconSize as an attribute; or ballColorTd.jelly needs to convert iconSize as well as attrs.iconSize. Or both.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to