Invalid tools.xml prevents Explorer starting
Bug #548971 reported by
Simon Kersey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Explorer |
Fix Released
|
Medium
|
Simon Kersey |
Bug Description
If an invalid tools.xml file is saved by a user then Explorer won't start.
The following errors all cause this to happen:
- invalid element tag
- <tool> with no title
- <tool> with no type
- <tool> with invalid type
- tool.xml that contains a single <tool> definition
Processing of tools.xml needs to be more robust as users are expected to edit it directly.
Related branches
lp:~simon-kersey/bzr-explorer/548971-fix
Merged
into
lp:bzr-explorer
- Ian Clatworthy: Approve
-
Diff: 102 lines (+42/-4)2 files modifiedNEWS (+4/-0)
lib/extensions/tools.py (+38/-4)
Changed in bzr-explorer: | |
milestone: | 1.1 → 1.1beta1 |
To post a comment you must log in.
Rev 461 on trunk.