Skip to content

Update Import/Export ObjectBuilder to not use Project.transaction

What does this MR do and why?

This MR fixes cross-DB transaction in Project Import/Export.

Instead of wrapping object creation in Project.transaction we can just wrap it in transaction of a class of the object that is being created. This way no cross-db exception is raised.

Additionally, update Group ObjectBuilder to remove Group.transaction in case we move group data into a separate database.

Mentions #350091 (closed)

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by George Koltsov

Merge request reports

Loading