Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1200 closed defect (fixed)

Converter icons in metadata results are not displayed (only 2.9.x)

Reported by: josegar74 Owned by: geonetwork-devel@…
Priority: major Milestone: v2.10.0 RC0
Component: General Version: v2.9.0
Keywords: Cc:

Description

This is related to spring security changes, seem this code in metadata-utils.xsl:

<xsl:for-each select="/root/gui/schemalist/name[text()=$schema]/conversions/converter">
  <xsl:variable name="serviceName" select="@name"/>
      <xsl:if test="java:isAccessibleService($serviceName)">

sends a node tree object to isAccessibleService instead of the string value with service name.

Changing serviceName variable to:

 <xsl:variable name="serviceName" select="concat('',@name)"/>

solves the issue

Change History (2)

comment:1 by josegar74, 12 years ago

Resolution: fixed
Status: newclosed

Committed in master: 9ee495ff5c97b4f083dd47e101b5395e4eef0008

comment:2 by ianwallen, 12 years ago

Version: v2.9.0
Note: See TracTickets for help on using tickets.