generated from ynput/ayon-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Shotgrid: reviving archived assets is broken #122
Merged
kalisp
merged 31 commits into
develop
from
enhancement/AY-5570_shotgrid-reviving-archived-assets-is-broken
Nov 13, 2024
+204
−165
Merged
Changes from 7 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
76d21f0
Changed type of task revival event
kalisp 5d9213f
Added MissingParentError to processor
kalisp 6e70e33
Updated query of last event
kalisp c4e8015
Merge branch 'develop' of https://github.com/ynput/ayon-shotgrid into…
kalisp 26c9e53
Cleaned up logic
kalisp 5163b29
Formatting
kalisp 3fcac8f
Formatting change
kalisp 8fd3c90
Cosmetics fix
kalisp 05e2339
Cosmetics fix
kalisp a08c442
Fix typo
kalisp 638105c
Fix typo
kalisp 4b65500
Merge branch 'develop' of https://github.com/ynput/ayon-shotgrid into…
kalisp 5b857ec
Merge remote-tracking branch 'origin/enhancement/AY-5570_shotgrid-rev…
kalisp b531fb1
Fix log message
kalisp d23b80a
Refactor to more readable variable
kalisp 66761a9
Fix creation of task directly under project
kalisp 0d85a5f
Fix remove nonexistent key
kalisp a674780
Fix typo
kalisp c449b04
Merge develop
kalisp b6985bc
Refactor yank out create_new_ayon_entity
kalisp 4c2f5f5
Reworked revival from MissingParentError to parent creation
kalisp a0eaeaa
Formatting change
kalisp ba4849c
Merge branch 'develop' of https://github.com/ynput/ayon-shotgrid into…
kalisp fe9d09f
Merge remote-tracking branch 'origin/enhancement/AY-5570_shotgrid-rev…
kalisp 2ff9b42
Updated docstring
kalisp 0da0e9e
Updated logging
kalisp af426a9
Return path for logging
kalisp af870c9
Update logging
kalisp 759bd0a
Fix logic to change only real Task revival
kalisp 72f1393
Removed filtering on tasks
kalisp 1281ba1
Fix ruff
kalisp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we can't recreate parents instead of retriggering the event? Processor should not trigger events, it will add the event to the end of queue which might lead to huge issues as the task might change meanwhile, but you'll reapply changes from older event.
If this https://github.com/ynput/ayon-shotgrid/pull/122/files#r1718231580 happens because of this, then that is another reason against.
BTW is possible missing parent can happen even if it was not "reactivated"? Can it happen if the parents couldn't be synced (e.g. invalid chars of some other issue)?