Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAIRIS Losing Data (Asset Association Descriptions - Rationale) Upon Export #544

Closed
JohnLF1995 opened this issue Jun 5, 2020 · 2 comments

Comments

@JohnLF1995
Copy link

Expected behaviour

To not save the asset association descriptions (rationale) and reduces the XML file size once it has been used in CAIRIS.

Actual behavior

Does not save the asset association descriptions (rationale) and reduces the XML file size once it has been used in CAIRIS.

Steps to reproduce the behavior

Login and import my file (277kb) and then export the same file back out, it will then be (271kb) and has lost the asset association descriptions.

Version of CAIRIS

05/06/2020 at 09:15

Details of browser or, if applicable, details of the OS used to host CAIRIS

Using: http://cairis.bournemouth.ac.uk:8000/

Using Windows 10 Laptop on a Chrome browser.

I have a video demonstrating evidence of this issue in real-time. The author of CAIRIS also holds this video evidence and has been informed that this is an issue.

@failys
Copy link
Collaborator

failys commented Jun 5, 2020

The video doesn’t really help me reproduce the problem though. Can you please create a simple model with 2 assets and 1 association to see if this can be reproduced?

@failys
Copy link
Collaborator

failys commented Jun 17, 2020

I've found the issue, which relates to how the rationale is being exported (as an attribute of the asset_association element rather than a separate rationale element).

@failys failys closed this as completed in 65498b4 Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants