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

Select field does not display "Choose an Option" under high load

    Details

      Description

      Steps to reproduce

      1. Log in as Admin
      2. Go to Content > Forms and create a new form
      3. Add a "Select from list" field, define some options (eg. test1, test2)
      4. Go to the Welcome page and add a Forms portlet to the Page
      5. Display the form created above
      6. To model high load, open the Welcome page many times (I opened it 30 times in Chrome and 30 times in Firefox, then saw the issue in Firefox, but according to the customer, it can be seen in Chrome and IE as well)
      7. Click through all the tabs in Firefox

      Actual behavior

      In some of the open tabs, you will see that the form displays "test1" option instead of the instruction "Choose an Option". If you reload a Page, you see that "test1" is displayed for a short time and then "choose an option" is displayed one the page loads. So it seems that under high load, js is not executed on some pages. There is no error in the Console.

      Expected behavior

      The forms should load on all pages.

      h3 Reproduced on
      7.0.x @445ecc31b2fe4daa2b253bb0dcbb4e0dad77414d
      7.1.x @a6f81ef1bce58daad87955bab529a28760fcd463
      Master @912d7fabf61a8603d8ad67c716400ddda33b3cfb -> Forms is different there so the behavior is different. The "test1" option is never displayed, instead "choose-an-option" is shown for a short time while the page loads. But in master, the Form loaded correctly every time.

      Additional notes

      In 7.1.x, the "Choose an option" option will appear first, but the select from list component will stay disabled.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              melody.wu Melody Wu
              Reporter:
              lino.alves Lino Alves
              Participants of an Issue:
              Recent user:
              Jason Pince
              Engineering Assignee:
              Rodrigo Paulino
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                32 weeks ago

                  Packages

                  Version Package
                  7.0.X
                  7.1.10 DXP FP18
                  7.1.X
                  7.2.10 DXP FP2
                  7.2.10.1 DXP SP1
                  7.2.X
                  7.3.10 DXP GA1
                  Master