Skip to content

Corrupt SWAG database crashes the program #5

@delphidabbler

Description

@delphidabbler

The error handling code in TSWAGXMLProcessor.ValidatePartialPacket and TSWAGXMLProcessor.ValidatePacket does not work as expected. No exception is raised when parsing the database, but later when the erroneous packet is accessed some spurious exceptions are reported.

To replicate, delete the author from a SWAG packet then start the program. Select the title of packet whose author was deleted and view the exceptions raised.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions