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

Javascript errors are thrown when an empty radio button is added in Web Form portlet

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.2.X EE, 7.0.X EE, Master
    • Fix Version/s: 6.2.X EE, 7.0.X EE, 7.1.X, Master
    • Component/s: Web Form
    • Labels:
      None
    • Branch Version/s:
      7.0.x, 6.2.x
    • Backported to Branch:
      Committed
    • Story Points:
      1
    • Fix Priority:
      3

      Description

      Steps to Reproduce:

      1. Add Web Form to a page
      2. Go to portlet options > Configuration
      3. Add Radio Options field
        1. Do not add any options (leave it blank)
        2. Keep "Optional" unchecked
      4. Save configuration

      Expected Result:
      No javascript errors are thrown.

      Actual Result:
      Javascript errors are thrown.

      Reproduced on: Master
      Git ID: 3c84a52ea8e83ebffbfc2d797256c66c87bf400d

        Attachments

        1. Fixed.PNG
          Fixed.PNG
          33 kB
        2. Fixed62.PNG
          Fixed62.PNG
          46 kB
        3. Fixed70.PNG
          Fixed70.PNG
          39 kB

          Issue Links

            Activity

              People

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

                Dates

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