Bug 712263 - Topic export ignores failure to retrieve a topic.
Summary: Topic export ignores failure to retrieve a topic.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Topic Tool
Classification: Other
Component: cli-Topic_Tool
Version: 0.0.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stephen Gordon
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-10 01:58 UTC by Stephen Gordon
Modified: 2011-09-29 04:26 UTC (History)
1 user (show)

Fixed In Version: topic-tool-0.0.8-0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-29 04:26:07 UTC


Attachments (Terms of Use)

Description Stephen Gordon 2011-06-10 01:58:40 UTC
Description of problem:

Tool gracefully ignores the fact that a topic could not be read (sometimes due to a validity issue) and keeps on retrieving subsequent topics:

[Fatal Error] :234:6: The element type "step" must be terminated by the matching end-tag "</step>".
ERROR: Unable to load topic (http://topicrepo.englab.bne.redhat.com/TopicRepository/Tasks/IPA/Installing_the_IPA_Server.xml).
ERROR: Unable to parse 'Installation_Guide_Export/en-US/Infrastructure.xml'.

Ideally I think we want to allow this but keep track of which topics couldn't be read and display a list at the end of the run to highlight that it wasn't successful.

Comment 1 Stephen Gordon 2011-09-06 07:19:07 UTC
Committed revision 69970.

Comment 2 Stephen Gordon 2011-09-06 07:20:43 UTC
In the end went with the simpler mechanism of just reporting the first failure encountered and then ending the export as failed.


Note You need to log in before you can comment on or make changes to this bug.