Skip to content

Fix user reference transformation in EpicsPipeline

George Koltsov requested to merge georgekoltsov/fix-epics-pipeline into master

What does this MR do?

This MR fixes a bug in EE::BulkImports::Groups::Pipelines::EpicsPipeline where user reference wasn't properly updated and exception was raised { "exception_class":"ActiveRecord::AssociationTypeMismatch","exception_message":"User(#89020) expected, got {\"public_email\"=\u003e\"\"} which is an instance of Hash(#23720)"} because UserReferenceTransformer expects custom reference to be a string, not a symbol.

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by George Koltsov

Merge request reports

Loading