Skip to content

Form update relies on database ordering #215

@mgu

Description

@mgu

When we update a form, we match validated_data with objects list (already in database).

If the order of validated_data and objects list are not the same, then we try to modify the wrong field resulting in IntegrityError: UNIQUE constraint failed: formidable_field.slug, formidable_field.form_id

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions