Skip to content

Validation on attachment upload may block subsequent navigation #3742

@olemartinorg

Description

@olemartinorg

#3641 adds useAttachmentUpdateTagsMutation(), which in turn updates initial validations on success (if the backend version is new enough). When working on #3741 I upgraded ttd/expression-validation-test to the latest backend, but found the cypress tests for it to be failing and getting stuck on NavigationButtons. It seems the infinite loading that occurs in that failing test is caused by it comparing initial validations with an expected value and never succeeding. My theory is that useAttachmentUpdateTagsMutation() should not update initial validation at all, because that endpoint is not running full (but rather incremental) validation.

Tasks here:

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    No status

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions