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

hotfix/Fix event server mongo uri #305

Merged

Conversation

tokejepsen
Copy link
Member

  • collection name in uri creates a bad database name error
  • uri was not composed correctly

- collection name in uri creates a bad database name error
- uri was not composed correctly
@tokejepsen tokejepsen added type: bug Something isn't working module: Ftrack labels Jun 23, 2020
@tokejepsen tokejepsen self-assigned this Jun 23, 2020
@iLLiCiTiT
Copy link
Member

Should go to master branch

@@ -51,9 +51,8 @@ def get_ftrack_event_mongo_info():

if not _used_ftrack_url or components["database"] is None:
components["database"] = database_name
components["collection"] = collection_name
Copy link
Member

Choose a reason for hiding this comment

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

This line is required (for cases that AVALON_MONGO has collection in).

If connection won't work with collection in uri then there should be components.pop("collection", None) to be sure.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. Done.

@tokejepsen
Copy link
Member Author

Should go to master branch

Its needed in develop though as well.

@iLLiCiTiT
Copy link
Member

Its needed in develop though as well.

Yes, but master is at first place, it should be hotfix because it's production breaking bug. These bugs should always be in master first (and with @mkolar git app it's automatically merged to develop too if branch name starts with hotfix/***)

@iLLiCiTiT iLLiCiTiT changed the title Fix event server mongo uri hotfix/Fix event server mongo uri Jun 24, 2020
@mkolar mkolar merged commit d4dc019 into ynput:2.x/develop Jun 26, 2020
@tokejepsen tokejepsen deleted the 2.x/bugfix/cloud_mongo_event_server branch June 28, 2020 14:37
@mkolar mkolar added this to the 2.11 milestone Jul 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
module: Ftrack type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants