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

Errors thrown for setting FIELD_ENABLE_COM_LIFERAY_PORTAL_KERNEL_MODEL fields after deploying test hook

    Details

      Description

      Steps to reproduce:

      1. Navigate to master portal directory locally
      2. Run TestHookPortlet#ViewHook test
        ant -f build-test-tomcat.xml run-selenium-tomca-Dtest.class=TestHookPortlet#ViewHook -Dlp.plugins.dir={path to your master plugins directory}

      Expected Result:
      No console errors thrown during test.

      Actual Result:
      Errors thrown in console when the test navigates to localhost:8080/web/guest/home

      LIFERAY_ERROR: Error setting field FIELD_ENABLE_COM_LIFERAY_PORTAL_KERNEL_MODEL_CONTACT_BIRTHDAY: FIELD_ENABLE_COM_LIFERAY_PORTAL_KERNEL_MODEL_CONTACT_BIRTHDAY
           [exec]     LIFERAY_ERROR: Error setting field FIELD_ENABLE_COM_LIFERAY_PORTAL_KERNEL_MODEL_CONTACT_MALE: FIELD_ENABLE_COM_LIFERAY_PORTAL_KERNEL_MODEL_CONTACT_MALE
           [exec]     LIFERAY_ERROR: Error setting field FIELD_ENABLE_COM_LIFERAY_PORTAL_KERNEL_MODEL_ORGANIZATION_STATUS: FIELD_ENABLE_COM_LIFERAY_PORTAL_KERNEL_MODEL_ORGANIZATION_STATUS
      

      Reproduced on:
      Tomcat 8.0.32 + MySQL 5.7.17.
      Portal master Git Hash: 563677166f4aefbd0ba2f9bc688c7186696932d6
      Portal master plugins Git Hash: 13ea7139a647886e375a74c93786d25d9b487609

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kiana.suetani Kiana Suetani
                Reporter:
                kiana.suetani Kiana Suetani
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 4 weeks ago

                  Packages

                  Version Package
                  7.0.0 DXP FP24
                  7.0.X EE
                  7.0.4 CE GA5
                  7.1.X
                  Master