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

As an Object Admin, I want to delete a published custom object

Details

    Description

      Context

      Currently, there is no way to delete a custom object after publishing it. The goal of this story is to allow admins to be able to do that in a safe way.

      Mockups

      Mockup

      Acceptance Criteria

       

      1 - Given an admin user,
      when managing objects,
      then I must be able to purge the object

      • This would drop the table and lose all the data
      • We should heavily alert the user

      2 - Given an admin user,
      when managing objects with relationships,
      then I must be able to purge the object

      • This would drop the table and lose all the data
      • We should heavily alert the user

      3 - Given an admin user,
      when managing objects system objects,
      then I must not be able to delete the object

      4 - Given an admin user,
      when I selected an object to delete,
      then I must be able to confirm the delation informing the object name

      5 - Given an admin user,
      when I selected an object to delete,
      then I must be able to see the number of records that will be deleted

      Definition of Done (DoD):

      • All Acceptance Criteria were passed;
      • Make sure that the expected automated tests were created (unit / integration / functional) and passed successfully;
      • Validated by QA and Product Manager;
      • No critical bug related to Story scope (FP5);
      • Make sure that all system documentation were updated (if necessary)

         

         Ticket Updates

      1. If the object is not published (and it's not a system object), we will keep the current behavior: the user will be able to delete the object without having to confirm, i.e. the confirmation modal will not appear.

       

      Attachments

        Issue Links

          Activity

            People

              daniel.angotti Daniel Angotti (Inactive)
              luiz.jardim Luiz Jardim
              Victor Santos Victor Santos (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Victor Santos (Inactive)
              Carolina Barbosa
              Aline Cantarelli
              Diogo Santos (Inactive), Rafaella Jordao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  Master