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

Rest Api is getting called 2 times for each Form input field

Details

    Description

      Steps to reproduce:

      1. Start Liferay, log in as Admin
      2. Go to Content > Froms > Data Providers
      3. Create a new Data Provider eg: Countries of the World
      4. Create a new form and add a Select from List field
      5. Under the Create List option select From Data Provider
      6. Select your new Data Provider and its output parameter
      7. Go to the Site
      8. Put a Forms portlet on the page
      9. Select your new form to display
      10. Check the localhost_access_log in your tomcat_home\logs folder

      Note: because the issue is intermittent it might be needed to repeat the steps several times. Simulate a high load on the server might make it easier to reproduce.

      Actual behavior: You will see that the Rest Api is called twice: 127.0.0.1 - - [20/May/2020:16:02:05 +0000] "GET /api/jsonws/group/get-user-sites-groups-count HTTP/1.1" 200 1
      Expected behavior: The Rest Api should be called only once.

      Attachments

        Issue Links

          Activity

            People

              harry.chai Harry Chai
              lino.alves Lino Alves
              Kiyoshi Lee Kiyoshi Lee
              Lino Alves Lino Alves
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 20 weeks, 4 days ago

                Packages

                  Version Package
                  7.1.10 DXP FP19
                  7.1.10.5 SP5
                  7.1.X
                  7.2.10 DXP FP7
                  7.2.X
                  7.3.3 CE GA4
                  7.3.4 CE GA5
                  7.3.10 DXP GA1
                  Master