-
Bug
-
Resolution: Done
-
Major
-
3.3.0.M3
-
None
[xslt] mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.aggregate/sources/results/buildResults.xsl:200: Fatal Error! A sequence of more than one item is not allowed as the first argument of tokenize() ("http://anonsvn.jboss.org/repos...", "http://anonsvn.jboss.org/repos...")
https://hudson.qa.jboss.com/hudson/job/jbosstools-3.3_trunk.aggregate/3339/console
Possible solution:
diff --git a/build/results/buildResults.xsl b/build/results/buildResults.xsl index 27346f1..da19686 100644 --- a/build/results/buildResults.xsl +++ b/build/results/buildResults.xsl @@ -197,7 +197,7 @@ </li> <xsl:for-each - select="tokenize(//property[contains(@name,'build.properties.SVN_REVISION') and contains(@name,$COMPONENT)]/@value,',')"> + select="tokenize(//property[contains(@name,'build.properties.SVN_REVISION') and contains(@name,$COMPONENT)][1]/@value,',')"> <li>SVN: <xsl:value-of select="." /></li> </xsl:for-each> </ul>