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

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

            andre.farias André Farias
            gleice.lisbino Gleice Lisbino (Inactive)
            Gleice Lisbino Gleice Lisbino (Inactive)
            Daniel Bonasser Daniel Bonasser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 11 weeks, 4 days ago

              Packages

                Version Package
                7.4.3.40 CE GA40
                7.4.3.41 CE GA41
                Master