valo-cd.xsl lacks error checks
Bug #682894 reported by
Tuukka Hastrup
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 |
Changed in valo-cd: | |
status: | In Progress → Confirmed |
To post a comment you must log in.
I'll keep this in mind everytime when refactoring XSLT and will fix this eventually during a longer period.