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

The Add Subcategory action is still shown and enabled when the number of categories reaches the limit per vocabulary

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: Categories
    • Labels:

      Description

      Step to reproduce:

      1. Applications Menu > Control Panel > System Settings
      2. Assets > Virtual Instance Scope > Categorization
      3. Type the 3 in the Maximum Number of Categories per Vocabulary field
      4. Save
      5. Add a new site
      6. Add a vocabulary
      7. Add two categories
      8. Add the third category
      9. View the Save and Add a New one button is disabled
      10. Save
      11. View the three categories are shown in vocabulary
      12. Click the ellipsis button of any category
      13. View the Add Subcategory action is not shown

      Expected Results:
      The Add Subcategory action shouldn't be shown or disabled.

      Actual Results:
      The Add Subcategory action is shown and enabled.

      Reproduced on:
      Tomcat 9.0.43 + MySQL 5.7. Portal master GIT ID: 8e1a4f3ef962d16fd12da46aca4cbe6441380c78.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yang.cao Yang Cao
              Reporter:
              yang.cao Yang Cao
              Participants of an Issue:
              Recent user:
              Yang Cao
              Engineering Assignee:
              J├╝rgen Kappler
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 weeks, 2 days ago

                  Packages

                  Version Package
                  Master