Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Ftrack: Reset session before instance processing #4129

Conversation

iLLiCiTiT
Copy link
Member

@iLLiCiTiT iLLiCiTiT commented Nov 23, 2022

Brief description

Integrate ftrack api is reseting ftrack api session on integration. Integrate ftrack api is re-configuring ftrack api locations on integration.

Description

Reset session before each instance is processed to trigger recache of locations which should help to fix the issue.
Reset of session caused loose of local cache data which would require to requery all information again and again.

Additional information

First fix was to create new session for each processed instance and close it afterwards but the closing of session cause closing of all sessions in process.

Testing notes:

Since I wasn't able to reproduce source issue I cannot describe testing notes for source issue.

  • Ftrack integration should work at least the same way as did

@ynbot
Copy link
Contributor

ynbot commented Nov 23, 2022

@iLLiCiTiT iLLiCiTiT self-assigned this Nov 23, 2022
@iLLiCiTiT iLLiCiTiT added type: enhancement Enhancements to existing functionality module: Ftrack labels Nov 23, 2022
@iLLiCiTiT iLLiCiTiT changed the title Ftrack: Integrate ftrack api creates session per instance Ftrack: Reset session before instance processing Nov 24, 2022
@iLLiCiTiT iLLiCiTiT merged commit 5e6d64a into develop Dec 1, 2022
@iLLiCiTiT iLLiCiTiT deleted the feature/OP-4503_Ftrack---integrate-ftrack-api-fails-to-transfer-componets branch December 1, 2022 15:18
@github-actions github-actions bot added this to the next-patch milestone Dec 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
module: Ftrack type: enhancement Enhancements to existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants