valo-cd.xsl lacks error checks

Bug #682894 reported by Tuukka Hastrup
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VALO-CD
Confirmed
Undecided
Asko Soukka

Bug Description

Currently, valo-cd.xsl does not fail if a resource fails to load. It should be clear when the build is not successful.

When a resource fails to load, xsltproc outputs a warning, and we can terminate using xsl:message such as "Error: Failed to load contents for http://...".

Additionally, if something in the inputs is not as required (empty section, red link in wiki, missing icon for a program etc.), we can append a line to errors.txt.

Changed in valo-cd:
status: New → Confirmed
Revision history for this message
Asko Soukka (asko-soukka) wrote :

I'll keep this in mind everytime when refactoring XSLT and will fix this eventually during a longer period.

Changed in valo-cd:
status: Confirmed → In Progress
assignee: nobody → Asko Soukka (asko-soukka)
Revision history for this message
Asko Soukka (asko-soukka) wrote :

I guess, we should add a yet another option for build.sh to pass to XSLT to determine whether the XSLT should really be terminated after outputting error message or not.

Changed in valo-cd:
status: In Progress → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.