Skip to content

Avoid the file id repetition in generated moments or PV images#1003

Merged
kswang1029 merged 1 commit intodevfrom
mark/avoid_file_id_duplication
Jan 18, 2022
Merged

Avoid the file id repetition in generated moments or PV images#1003
kswang1029 merged 1 commit intodevfrom
mark/avoid_file_id_duplication

Conversation

@markccchiang
Copy link
Copy Markdown
Contributor

@markccchiang markccchiang commented Jan 17, 2022

This bug was found by @YuHsuan-Hwang. The file id of the generated moment image is repeated with the PV image if the number of moment type is 0 (PV generator file id def). So I increase the file id for moments images by 1 to solve this problem.

Copy link
Copy Markdown
Contributor

@kswang1029 kswang1029 left a comment

Choose a reason for hiding this comment

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

@YuHsuan-Hwang thanks for spotting this issue. @markccchiang thanks for fixing this proactively. Tested with multiple cubes loaded and generated PV each and moments -1 and 0 to verify the fix. All working properly. 👍

@kswang1029 kswang1029 merged commit 9f898de into dev Jan 18, 2022
@kswang1029 kswang1029 deleted the mark/avoid_file_id_duplication branch January 18, 2022 04:49
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

Successfully merging this pull request may close these issues.

3 participants