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

Copy form: null value in column "prefill_plugin" violates not-null constraint #3467

Closed
LaurensBurger opened this issue Sep 6, 2023 · 1 comment · Fixed by #3569
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@LaurensBurger
Copy link
Collaborator

Product versie / Product version

2.3.0

Omschrijf het probleem / Describe the bug

Migrated form components contain incorrect "prefill" json:

  "prefill": {
    "plugin": null,
    "attribute": null,
    "identifierRole": "main"
  },

This causes crashes on import and copy of forms.

Updating the component changes null to "" and solves the copy issue

  "prefill": {
    "plugin": "",
    "attribute": "",
    "identifierRole": "main"
  },

Stappen om te reproduceren / Steps to reproduce

No response

Verwacht gedrag / Expected behavior

No response

Screen resolution

None

Device

None

OS

None

Browser

No response

@LaurensBurger LaurensBurger added bug Something isn't working triage Issue needs to be validated. Remove this label if the issue considered valid. labels Sep 6, 2023
@joeribekker joeribekker removed the triage Issue needs to be validated. Remove this label if the issue considered valid. label Sep 11, 2023
@joeribekker joeribekker added this to the Release 2.4.0 milestone Sep 11, 2023
@joeribekker
Copy link
Contributor

Refinement: Clear what should be done to fix, not hard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants