Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: 7.3.0 CE GA1, Master
    • Component/s: Item Selector
    • Labels:
      None

      Description

      Occurred on master accptance CI tester:

      [exec] FAIL test/item_selector_preview/ItemSelectorPreview.es.js (8.446s)
       [exec] ??? Console
       [exec] 
       [exec] console.error ../../../node_modules/jsdom/lib/jsdom/virtual-console.js:29
       [exec] Error: Uncaught [TypeError: Liferay.component is not a function]
       [exec] at reportException (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
       [exec] at invokeEventListeners (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:209:9)
       [exec] at HTMLUnknownElementImpl._dispatch (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9)
       [exec] at HTMLUnknownElementImpl.dispatchEvent (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17)
       [exec] at HTMLUnknownElementImpl.dispatchEvent (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27)
       [exec] at HTMLUnknownElement.dispatchEvent (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:157:21)
       [exec] at Object.invokeGuardedCallbackDev (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:397:16)
       [exec] at invokeGuardedCallback (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:454:31)
       [exec] at flushPassiveEffectsImpl (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:22868:7)
       [exec] at unstable_runWithPriority (/opt/dev/projects/github/liferay-portal/modules/node_modules/scheduler/cjs/scheduler.development.js:643:12) TypeError: Liferay.component is not a function
       [exec] at component (/opt/dev/projects/github/liferay-portal/modules/apps/item-selector/item-selector-taglib/src/main/resources/META-INF/resources/item_selector_preview/js/ItemSelectorPreview.es.js:66:11)
       [exec] at commitHookEffectList (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:19986:26)
       [exec] at commitPassiveHookEffects (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:20016:11)
       [exec] at HTMLUnknownElement.callCallback (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:347:14)
       [exec] at invokeEventListeners (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:193:27)
       [exec] at HTMLUnknownElementImpl._dispatch (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:119:9)
       [exec] at HTMLUnknownElementImpl.dispatchEvent (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:82:17)
       [exec] at HTMLUnknownElementImpl.dispatchEvent (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/nodes/HTMLElement-impl.js:30:27)
       [exec] at HTMLUnknownElement.dispatchEvent (/opt/dev/projects/github/liferay-portal/modules/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:157:21)
       [exec] at Object.invokeGuardedCallbackDev (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:397:16)
       [exec] at invokeGuardedCallback (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:454:31)
       [exec] at flushPassiveEffectsImpl (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:22868:7)
       [exec] at unstable_runWithPriority (/opt/dev/projects/github/liferay-portal/modules/node_modules/scheduler/cjs/scheduler.development.js:643:12)
       [exec] at runWithPriority$2 (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:11305:10)
       [exec] at flushPassiveEffects (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom.development.js:22841:10)
       [exec] at Object.<anonymous>.flushWork (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom-test-utils.development.js:951:10)
       [exec] at act (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1062:9)
       [exec] at act (/opt/dev/projects/github/liferay-portal/modules/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1418:12)
       [exec] at render (/opt/dev/projects/github/liferay-portal/modules/node_modules/@testing-library/react/dist/index.js:82:26)
       [exec] at renderPreviewComponent (/opt/dev/projects/github/liferay-portal/modules/apps/item-selector/item-selector-taglib/test/item_selector_preview/ItemSelectorPreview.es.js:59:2)
       [exec] at Object.renderPreviewComponent (/opt/dev/projects/github/liferay-portal/modules/apps/item-selector/item-selector-taglib/test/item_selector_preview/ItemSelectorPreview.es.js:70:23)
       [exec] at Object.asyncJestTest (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:102:37)
       [exec] at resolve (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/queueRunner.js:43:12)
       [exec] at new Promise (<anonymous>)
       [exec] at mapper (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/queueRunner.js:26:19)
       [exec] at promise.then (/opt/dev/projects/github/liferay-portal/modules/node_modules/jest-jasmine2/build/queueRunner.js:73:41)
       [exec] at process._tickCallback (internal/process/next_tick.js:68:7)
       [exec] console.error ../../../node_modules/react-dom/cjs/react-dom.development.js:19814
       [exec] The above error occurred in the <ItemSelectorPreview> component:
       [exec] in ItemSelectorPreview

      Full console log:

      https://test-1-18.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/105151/consoleFull

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  21 weeks, 2 days ago

                  Packages

                  Version Package
                  7.3.0 CE GA1
                  Master