Skip to content

ui: publishing an unmodified draft skips validations #2895

Open
@miguelgrc

Description

It is possible to, for example, publish draft with an unfilled required field if it has not been modified. This should not be allowed.

To replicate:

  • Create a cms_analysis draft > publish it > it should publish without issues [WRONG BEHAVIOR]
  • Edit any field in the draft (other than the required cadi_id) > save the draft > publish it > it should throw an error [DESIRED BEHAVIOR]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions