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

TrayPublisher: Original Basename cause crash too early #3990

Merged
merged 1 commit into from Oct 17, 2022

Conversation

iLLiCiTiT
Copy link
Member

Brief description

Don't crash in collection when files are not filled with IndexError.

Description

This is "UX" change to not crash in collector of simple instances when files are not filled but let it on validator. If files are not filled originalBasename key is not filled.

Additional information

Crashed is happening after this PR. I thought it could maybe cause known publish error but that would not show a nice UI error with list of crashed instances...

Testing notes:

  1. Open TrayPublisher
  2. Create an instance without filled filepaths
  3. Publishing should crash with validation error instance of IndexError

@iLLiCiTiT iLLiCiTiT self-assigned this Oct 16, 2022
@iLLiCiTiT iLLiCiTiT added the type: enhancement Enhancements to existing functionality label Oct 16, 2022
@antirotor antirotor merged commit ec206be into develop Oct 17, 2022
@antirotor antirotor deleted the bugfix/original_basename_wrong_time_crash branch October 17, 2022 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants