View Issue Details

IDProjectCategoryView StatusLast Update
0001614FreeCADBugpublic2014-09-18 17:58
Reportershoogen Assigned Towmayer  
PrioritynormalSeveritytweakReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.15 
Summary0001614: Provide proper Error Message for corrupt xml files
Descriptionif xerces fails, the current Error messages does not help to resolve the problem.
http://forum.freecadweb.org/viewtopic.php?f=3&t=7028
TagsNo tags attached.
FreeCAD Information

Relationships

related to 0001755 closedyorik Avoid using unicode as names in parameter system 

Activities

wmayer

2014-07-16 17:21

administrator   ~0004802

Possibly the xml file wasn't corrupted because otherwise this would have caused a failure at startup with the error message: "Error during Xerces-c Initialization" plus some additional info of what went wrong.

So, IMO the xml file contained some strings which the xerces transcoder is not able to handle. Since this most likely happens with custom names (e.g. from custom tool bars) a special catch block is now in Application::sActivateWorkbenchHandler.

Related Changesets

FreeCAD: master c6af002a

2014-07-16 19:12:19

wmayer

Details Diff
+ fixes 0001614: Provide proper Error Message for corrupt xml files Affected Issues
0001614
mod - src/Gui/ApplicationPy.cpp Diff File

Issue History

Date Modified Username Field Change
2014-07-15 08:28 shoogen New Issue
2014-07-16 17:21 wmayer Note Added: 0004802
2014-07-16 17:42 wmayer Changeset attached => FreeCAD Master master c6af002a
2014-07-16 17:42 wmayer Assigned To => wmayer
2014-07-16 17:42 wmayer Status new => closed
2014-07-16 17:42 wmayer Resolution open => fixed
2014-09-18 17:58 shoogen Relationship added related to 0001755