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

Warning when categories/taxonomies are deleted (config page)

    Details

      Description

      Motivation

      Taxonomies and categories in them can be renamed or deleted. A warning message informing the expected behaviour regarding content already published will appear in the edition page.

      Design

      https://www.figma.com/file/UYXOyVkL4yJOmKlWx8kr1A/LPS-111333-digital-marketing-specific-categories?node-id=123%3A2

      Technical requirements

       

      TAXONOMIES

      • Can be renamed but no warning message will show
      • Can be deleted. 
        • No message will show if there are no categories in the deleted taxonomy
        • If the taxonomy has categories in it, then the following message will show: This vocabulary has [N] categories that might be being used in some contents. If you delete this vocabulary, all of its categories will also be deleted and removed from those contents. Do you want to continue deleting this vocabulary?  _- Delete / Cancel_

      CATEGORIES

      • When clicking the Delete option on a category, regardless of wether it has subcategories in it or not, a message will show: This category might be being used in some contents. If you delete it, this category and all of its subcategories will also be deleted and removed from those contents. Do you want to continue deleting this category? -Delete / Cancel_

      NOTE: These messages will replace the current one (see screenshot)

      Acceptance Criteria

      • Given a vocabulary with categories in it
      • When user tries to delete it
      • Then a warning message with the number of categories and Cancel / Delete options will show

      • Given a category 
      • When user tries to delete it
      • Then a warning message with Cancel / Delete options will show

       

      Test Scenarios

      AC ID Test Strategy Test Scenarios Is it covered by FrontEnd ? (JS-Unit) Is it covered by BackEnd? (unit or integration) Poshi?
      01 Smoke When the user tries to delete a vocabulary with categories in it, a warning message with the number of categories and Cancel / Delete options will show  No  No  yes
      02 Sanity When the user tries to delete a category, a warning message with Cancel / Delete options will show  No  No yes 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              susana.vazquez Susana Vázquez
              Reporter:
              julia.molano Julia Molano
              Engineering Assignee:
              SE Support
              Recent user:
              Luiz Queiroz
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  Master