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

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

Merged
merged 1 commit into from
Jan 18, 2022

Conversation

markccchiang
Copy link
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
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.

None yet

3 participants