Skip to content

Handle missing viewpoint_names and make snapshot filename unique#8197

Merged
wielinde merged 1 commit intodevfrom
fix/bcf-xml-export
Mar 25, 2020
Merged

Handle missing viewpoint_names and make snapshot filename unique#8197
wielinde merged 1 commit intodevfrom
fix/bcf-xml-export

Conversation

@oliverguenther
Copy link
Copy Markdown
Member

Frontend created snapshots may not have a viewpoint_name property, which is currently being used in the XML exporter.

It's better to export viewpoints with a unique name however, so I suggest we use the viewpoint UUID + .xml for the XML data, and UUID + .png (or whatever extension) for the associated snapshot.

Frontend created snapshots may not have a `viewpoint_name` property,
which is currently being used in the XML exporter.

It's better to export viewpoints with a unique name however, so I
suggest we use the viewpoint UUID + .xml for the XML data, and UUID +
.png (or whatever extension) for the associated snapshot.
@oliverguenther oliverguenther requested a review from wielinde March 24, 2020 08:02
Copy link
Copy Markdown
Member

@wielinde wielinde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR. Please see my inline comment

@wielinde wielinde merged commit 64b82e2 into dev Mar 25, 2020
@oliverguenther oliverguenther deleted the fix/bcf-xml-export branch April 23, 2020 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants