Skip to content
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

Delete::FieldValueIfEqualsOtherField functionality needs testing/possible correction #175

Open
kspurgin opened this issue Aug 29, 2023 · 0 comments

Comments

@kspurgin
Copy link
Collaborator

Literal transformation used in project, which did not work as expected:

transform Delete::FieldValueIfEqualsOtherField,
  delete: :prodorg_production,
  if_equal_to: :prodorg,
  multival: true,
  grouped_fields: [:prodorgrole_production],
  delim: Project.delim,
  casesensitive: false

Orig data:

  • prodorg_production: "American Book Company"
  • prodorgrole_production: "%NULLVALUE%"
  • prodorg: "Woman's Christian Temperance Union|American Book Company"

Expected:

prodorg_production and prodorgrole_production fields to be nil

Got:

No change to data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant