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

youtube portlet configuration - custom size allows non-integer input

    Details

      Description

      Youtube portlet configuration - custom size Frame Width and Frame Height input fields allow users to type in arbitrary inputs. Code converts inputs to numbers in any case without notification.

      reproduction

      1. add youtube portlet to a page
      2. got to configuration
      3. add a youtube url
      4. select custom from sizes
      5. type xyz into Frame Width and Frame Height input fields

      expected behaviour

      Only numbers should be allowed or there should be an error message

      experience behaviour

      Any character is allowed

        Attachments

        1. fix.png
          fix.png
          38 kB
        2. reproduce.png
          reproduce.png
          40 kB

          Issue Links

            Activity

              People

              Assignee:
              melody.wu Melody Wu
              Reporter:
              peter.borkuti Peter Borkuti (Inactive)
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.0.0 Beta 7