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

"[DOM] Found 2 elements with non-unique id" errors occur after clicking Add "REST Data Provider" in Forms

    Details

      Description

      Summary
      "[DOM] Found 2 elements with non-unique id" errors occur when you're clicking on "REST Data Provider" creation button

      Steps to Reproduce

      1. Product Menu -> Liferay DXP (Site) -> Content -> Forms ->Options ⋮ -> Data Providers
      2. Open console in your browser
      3. Click on + icon (REST Data Provider)

      Actual Result
      Normal loading on the browser, but browser console errors appear:

      [DOM] Found 2 elements with non-unique id #_com_liferay_dynamic_data_mapping_data_provider_web_portlet_DDMDataProviderPortlet_ddm$$inputParameters$eKFKiBgU$0#inputParameterRequired$HWHI7WK0$0$$en_US: (More info: https://goo.gl/9p2vKq) <input class=​"custom-control-input" id=​"_com_liferay_dynamic_data_mapping_data_provider_web_portlet_DDMDataProviderPortlet_ddm$$inputParameters$eKFKiBgU$0#inputParameterRequired$HWHI7WK0$0$$en_US" name=​"_com_liferay_dynamic_data_mapping_data_provider_web_portlet_DDMDataProviderPortlet_ddm$$inputParameters$eKFKiBgU$0#inputParameterRequired$HWHI7WK0$0$$en_US" type=​"checkbox" value=​"true">​ <input id=​"_com_liferay_dynamic_data_mapping_data_provider_web_portlet_DDMDataProviderPortlet_ddm$$inputParameters$eKFKiBgU$0#inputParameterRequired$HWHI7WK0$0$$en_US" name=​"_com_liferay_dynamic_data_mapping_data_provider_web_portlet_DDMDataProviderPortlet_ddm$$inputParameters$eKFKiBgU$0#inputParameterRequired$HWHI7WK0$0$$en_US" type=​"hidden" value=​"false">​

      Expected Behavior
      No browser console errors are present.

      Reproduced in
      7.1.X Private Commit: 82e87bf9ce198a34ad7e1eb134238d702d38a04d

        Attachments

        1. 7.1.x.png
          7.1.x.png
          156 kB
        2. console-errors.png
          console-errors.png
          1.24 MB

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 14 weeks, 1 day ago

                Packages

                Version Package
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master