Skip to content

aasx: Add failsafe for writing and reading AASX files #228

@WelliSolutions

Description

@WelliSolutions

You kindly told me about the failsafe parameter at the read_into() method.

I was now trying to write an AASX file which should have had an attachment, but doesn't. When writing the AASX file, an error message is printed, but no exception occurs.

The message is

Could not find file /aasx/files/file.txt in file store.

I'd rather have my program crash, so that the problem gets reported and fixed, rather than creating an invalid AASX file which may remain unnoticed for a long time. I tried failsafe=False as an additional parameter, but it seems that doesn't exist.

If no such feature exists, I'd like to request that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement of an existing featuregood-first-issuesdkSomething to do with the `sdk` package

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions