Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.
I’m submitting a…
Regression (a behavior that stopped working in a new release)
Bug report
Performance issue
Documentation issue or request
Current behavior
The “field is required” validation is being applied when it should not be.
Steps to recreate:
Set the field validation to Required when publishing.
Fill in the content for this field and save.
Remove the content from this field and save.
You receive the validation error “field is required,” even though it should not appear, as the version is still in Draft.
Is there any update on this issue? I’m currently facing the same problem when trying to migrate my projects from the cloud to a self-hosted environment.
I remember experiencing this myself and we ended up removing the “required on publishing” validation and using custom validation script to reject the update if it was empty when publishing. That would have been on version 7.2.0, I think we still have that version deployed so I will test it out and let you know.
Edit: Ah we have 7.8.1 deployed now and I cannot recreate this issue so was presumably fixed at some point between 7.2.0 (or perhaps earlier) and 7.8.1. What version do you have self hosted out of interest?
Ah right perhaps this is a regression, unsure what version is deployed to the cloud atm. Nothing obvious I can see in recent commits after v7.15.0 that would fix this bug.