[NOT_REPRODUCIBLE] Problem with validation with Required when publishing

I have…

  • 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

create text field with validation Required when publishing


Save the text in draft status

Then delete this text and save

After deleting text, I can’t save the blank field even though it’s in Draft status and not Publish status.

Expected behavior

Validation occurs only in Published status. And in status !=Published it should be possible to write without errors.

Minimal reproduction of the problem

create text field with validation Required when publishing


Save the text in draft status

Then delete this text and save

After deleting text, I can’t save the blank field even though it’s in Draft status and not Publish status.

Environment

  • [+ ] Self hosted with docker
  • Self hosted with IIS
  • Self hosted with other version
  • Cloud version

Version: [VERSION]

Browser:

  • Chrome (desktop)
  • Chrome (Android)
  • Chrome (iOS)
  • [+ ] Firefox
  • Safari (desktop)
  • Safari (iOS)
  • IE
  • Edge

Others:

Thanks. I will provide a fix asap.

Can you provide me the json for your schema from the export view?

I don’t have this issue locally.


the problem occurs when we have 2 languages and one is required

"fields": [
    {
        "name": "Title",
        "properties": {
            "isRequired": false,
            "isRequiredOnPublish": true,
            "isHalfWidth": false,
            "fieldType": "String",
            "createEnum": false,
            "editor": "Input",
            "inlineEditable": false,
            "isEmbeddable": false,
            "isUnique": false,
            "minLength": 1,
            "maxLength": 200,
            "contentType": "Unspecified"
        },
        "isLocked": false,
        "isHidden": false,
        "isDisabled": false,
        "partitioning": "language"
    },

Same for me, still not reproducible. Which version do you use?