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

Delete option is displayed and can be clicked on an entry with a relation (from the parent Object) for Prevent deletion type

    Details

      Description

      Summary:
      Delete option is displayed and can be clicked on an entry with a relation (from the parent Object) for Prevent deletion type

      Steps to Reproduce:

      1. Create Object A and Object B with a field
      2. Go to Object A
      3. Create a Relationship One to Many with Object B (by default it comes with the Deletion Type set as Prevent)
      4. Add a layout for Object A with the Relationship tab
      5. Publish both Objects
      6. Add one entry on Object A
      7. Add some entries on Object B
      8. Go to Object A
      9. Click to view an entry
      10. Go to the Relationship tab and add relations with the entries from Object B
      11. Save it and go back to the list of entries
      12. Click on the kebab menu of the entry

      Expected Result:
      The delete option is disabled OR the delete option is not available

      Actual Result:
      It is possible to click to delete the entry and a successful message appears (even though the entry is not deleted)

      Verified on master: 379b954997f7b6f6efe108529f0269e47345b3e6

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              gleice.lisbino Gleice Lisbino
              Participants of an Issue:
              Recent user:
              Rodrigo Cunha
              Engineering Assignee:
              Marcela Cunha
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Days since last comment:
                2 weeks, 1 day ago

                  Packages

                  Version Package
                  Master