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

The number field should be validated in System Settings

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.1.10 DXP FP16, 7.1.X, 7.2.10 DXP FP4, 7.2.X, 7.3.0 CE GA1, Master
    • Fix Version/s: None
    • Labels:
      None
    • Fix Priority:
      3

      Description

      The number filed is not validated in System Settings, like under assets. Issue is reproducible portal-wide for alpha characters and large numbers.
      Steps to reproduce:

      1. Go to System Settings > Assets
      2. Set Maximum Number of Tags with alpha characters
      3. Set Maximum Number of Tags with 999999999999999999999999999999(a large number)
      4. Go to System Settings, navigating "Commerce", go to Catalog -> Product Versioning
      • If no commerce found in portal, try edit the number field of other category except Maximum Number of Tags in Asset
      1. Set nagetive number and Save
      2. Set a decimal and Save

      Current behavior:
      Alpha characters: Success message shows: Your request completed successfully, but Maximum Number of Tags feild will turn to 0 again.
      Large number: Success message shows: Your request completed successfully, but Maximum Number of Tags feild will turn to 0 again.
      Nagetive number: The nagetive number saved with success message.

      Expected behavior:
      Alpha characters: Failure message shows to tell user not allow to set alpha characters.
      Large number: Failure message shows to tell the user not allow to set that large number.
      Nagetive number: Failure message shows to tell the user not allow to set that nagetive/decimal number.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Days since last comment:
                  24 weeks, 4 days ago

                  Packages

                  Version Package