Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package suse-xsl-stylesheets for openSUSE:Factory checked in at 2022-09-16 13:32:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-xsl-stylesheets (Old) and /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.2083 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-xsl-stylesheets" Fri Sep 16 13:32:02 2022 rev:55 rq:1003725 version:2.86.2 Changes: -------- --- /work/SRC/openSUSE:Factory/suse-xsl-stylesheets/suse-xsl-stylesheets.changes 2022-09-09 18:22:16.092056144 +0200 +++ /work/SRC/openSUSE:Factory/.suse-xsl-stylesheets.new.2083/suse-xsl-stylesheets.changes 2022-09-16 13:32:22.561275534 +0200 @@ -1,0 +2,6 @@ +Thu Sep 8 07:43:07 UTC 2022 - Thomas Schraitle <thomas.schrai...@suse.com> - 2.86.2 + +- Update 2.86.1 + - Fix another problem with report bug links (#493) + +------------------------------------------------------------------- Old: ---- suse-xsl-2.86.1.tar.bz2 New: ---- suse-xsl-2.86.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-xsl-stylesheets.spec ++++++ --- /var/tmp/diff_new_pack.cCokIj/_old 2022-09-16 13:32:23.017277007 +0200 +++ /var/tmp/diff_new_pack.cCokIj/_new 2022-09-16 13:32:23.025277033 +0200 @@ -17,7 +17,7 @@ Name: suse-xsl-stylesheets -Version: 2.86.1 +Version: 2.86.2 Release: 0 %define reponame suse-xsl ++++++ suse-xsl-2.86.1.tar.bz2 -> suse-xsl-2.86.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.1/ChangeLog new/suse-xsl-2.86.2/ChangeLog --- old/suse-xsl-2.86.1/ChangeLog 2022-09-07 13:51:56.000000000 +0200 +++ new/suse-xsl-2.86.2/ChangeLog 2022-09-08 09:35:52.000000000 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Sep 08 13:50:00 UTC 2022 - toms...@users.noreply.github.com + +- Update 2.86.2 + - Fix another problem with report bug links (#493) + +------------------------------------------------------------------- Tue Sep 07 13:50:00 UTC 2022 - toms...@users.noreply.github.com - Update 2.86.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.1/Makefile new/suse-xsl-2.86.2/Makefile --- old/suse-xsl-2.86.1/Makefile 2022-09-07 13:51:56.000000000 +0200 +++ new/suse-xsl-2.86.2/Makefile 2022-09-08 09:35:52.000000000 +0200 @@ -11,7 +11,7 @@ SHELL := /bin/bash PACKAGE := suse-xsl-stylesheets -VERSION := 2.86.1 +VERSION := 2.86.2 CDIR := $(shell pwd) SUSE_XML_PATH := $(PREFIX)/xml/suse DB_XML_PATH := $(PREFIX)/xml/docbook diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-xsl-2.86.1/suse2022-ns/static/js/script.js new/suse-xsl-2.86.2/suse2022-ns/static/js/script.js --- old/suse-xsl-2.86.1/suse2022-ns/static/js/script.js 2022-09-07 13:51:56.000000000 +0200 +++ new/suse-xsl-2.86.2/suse2022-ns/static/js/script.js 2022-09-08 09:35:52.000000000 +0200 @@ -441,15 +441,22 @@ var sectionNumber = ""; var sectionName = ""; var url = ""; - console.log("this:", this.text, - $(this).prevAll('span.title-number')[0].innerHTML, - $(this).prevAll('span.title-name')[0].innerHTML + + function prev(x) { return $(this).prevAll(x)[0]; }; + + if (prev('span.title-number') != undefined) { + // Some quickstarts return an undefined object and make the script to fail + // this if-clause takes care of this case. + console.log("this:", this.text, + prev('span.title-number').innerHTML, + prev('span.title-name').innerHTML ); - if ( $(this).prevAll('span.title-number')[0] ) { - sectionNumber = $(this).prevAll('span.title-number')[0].innerHTML; } - if ( $(this).prevAll('span.title-number')[0] ) { - sectionName = $(this).prevAll('span.title-name')[0].innerHTML; + if ( prev('span.title-number') ) { + sectionNumber = prev('span.title-number').innerHTML; + } + if ( prev('span.title-number') ) { + sectionName = prev('span.title-name').innerHTML; } if (bugtrackerType == 'bsc') {