Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-142905

It is possible to set a Relationship field as mandatory making impossible to add an entry on the Object

    Details

      Description

      Summary:
      It is possible to set a Relationship field as mandatory making impossible to add an entry on the Object

      Steps to Reproduce:

      1. Go to Open menu > Control Panel > Objects
      2. Create an Object A
      3. Create a field on the Object A
      4. Create a Relationship One to Many with itself
      5. Edit the auto generated Relationship field and set it as mandatory
      6. Publish the Object
      7. Go to the Object portlet
      8. Try to add an entry on it

      Expected Result:
      Relationship field cannot be set as mandatory

      Actual Result:
      Entry cannot be added because the Relationship field is mandatory

      Verified on master: 5f65a4beb9e40e8d02aac86be32f5f733493b6d7

        Attachments

          Activity

            People

            Assignee:
            evanilson.santana Evanilson Santana
            Reporter:
            rodrigo.cunha Rodrigo Cunha (Inactive)
            Participants of an Issue:
            Recent user:
            Clarissa Velazquez
            Engineering Assignee:
            Marcela Cunha
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              21 weeks, 3 days ago

                Packages

                Version Package
                7.4.3.6 CE GA6
                7.4.13 DXP U2
                7.4.3.7 CE GA7
                7.4.13 DXP U3
                Master