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

Form builder breaks when the user creates a rule with comma

    Details

      Description

      Description

      Form builder breaks when the user creates a rule with comma.

       

      Steps to Reproduce on APP BUILDER

      1. Go to Control Panel > App Builder > Objects > Add a Custom Object;
      2. Add a Form View > add two fields (Text and Numeric);
      3. Go to Rules tab and set the options:
      4. IF Text field is equals to "test, test" then (Select one ACTION) Numeric field;
      5. Save the rule > Save the form;
      6. Access again the form created on step 2; - BUG
      7. Access the rule edit screen. - BUG

      Steps to Reproduce on FORMS

      1. Go to Content & Data > Forms;
      2. Add a Form;
      3. Add two fields (Text and Numeric);
      4. Go to Rules tab and set the options:
      5. IF Text field is equals to "test, test" then (Select one ACTION) Numeric field;
      6. Save the rule > Save the form; - BUG
      7. Access again the created form; - BUG
         

      Expected Result
      Form builder DOES NOT break when the user creates a rule with comma.

      Actual Result
      The form is shown without the fields and the rules lost their value on rule edit screen.

       

      Reproduced In
      master: 2a9b1908a5a336d7ae1e5096e2c012f5e19d2e5a

        Attachments

          Activity

            People

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

              Dates

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

                Packages

                Version Package
                7.3.3 CE GA4
                Master