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

DDM failed with Unable to execute Gradle task: packageRunTest.

    Details

      Description

      Full Jenkins Log

      Testray

      [exec] > Task :apps:dynamic-data-mapping:dynamic-data-mapping-form-field-type:packageRunTest FAILED
           [exec] FAIL test/js/Numeric/Numeric.es.js (8.729s)
           [exec]   ??? Field Numeric ??? renders the default markup
           [exec] 
           [exec]     TypeError: Cannot read property 'editingLanguageId' of undefined
           [exec] 
           [exec]       18 | 	class WithLocale extends Component {
           [exec]       19 | 		prepareStateForRender(states) {
           [exec]     > 20 | 			const {editingLanguageId} = this.context.store;
           [exec]          | 			       ^
           [exec]       21 | 			const languageValues = [];
           [exec]       22 | 
           [exec]       23 | 			Object.keys(this.localizedValue).forEach(key => {
           [exec] 
           [exec]       at withDispatch.editingLanguageId [as prepareStateForRender] (src/main/resources/META-INF/resources/FieldBase/withLocale.es.js:20:11)
           [exec]       at Soy.prepareStateForRender [as buildTemplateData_] (../../../node_modules/metal-soy/src/Soy.js:70:21)
           [exec]       at Soy.buildTemplateData_ [as renderIncDom] (../../../node_modules/metal-soy/src/Soy.js:169:22)
           [exec]       at renderIncDom (../../../node_modules/metal-incremental-dom/src/render/render.js:449:26)
           [exec]       at Soy.renderInsidePatch (../../../node_modules/metal-incremental-dom/src/IncrementalDomRenderer.js:167:4)
           [exec]       at renderInsidePatch (../../../node_modules/metal-incremental-dom/src/render/render.js:546:22)
           [exec]       at renderSubComponent_ (../../../node_modules/metal-incremental-dom/src/render/render.js:471:16)
           [exec]       at Numeric.renderFromTag_ (../../../node_modules/metal-incremental-dom/src/render/render.js:218:9)
           [exec]       at call (../../../node_modules/metal-incremental-dom/src/children/children.js:147:26)
           [exec]       at Object.fn (../../../node_modules/metal-incremental-dom/src/incremental-dom-aop.js:98:9)
           [exec]       at apply (../../../node_modules/metal-incremental-dom/src/incremental-dom-aop.js:79:37)
           [exec]       at Object.fn (../../../node_modules/metal-incremental-dom/src/incremental-dom-aop.js:98:9)
           [exec]       at apply (../../../node_modules/metal-soy/src/Soy.js:117:30)
           [exec]       at call (../../../node_modules/metal-soy/src/SoyAop.js:38:23)
           [exec]       at ../../../node_modules/metal-soy/src/Soy.js:93:11
           [exec]       at $templateAlias1 (build/npmscripts/soy/Numeric/Numeric.soy.js:106:3)
           [exec]       at Soy.elementTemplate [as renderIncDom] (../../../node_modules/metal-soy/src/Soy.js:173:4)
           [exec]       at renderIncDom (../../../node_modules/metal-incremental-dom/src/render/render.js:449:26)
           [exec]       at ../../../node_modules/incremental-dom/dist/incremental-dom-cjs.js:703:3
           [exec]       at f (../../../../../../../../../source/src/core.js:100:20)
           [exec]       at patchFn (../../../node_modules/metal-incremental-dom/src/render/patch.js:48:2)
           [exec]       at callPatch_ (../../../node_modules/metal-incremental-dom/src/render/patch.js:103:3)
           [exec]       at tryPatchWithNoParent_ (../../../node_modules/metal-incremental-dom/src/render/patch.js:67:8)
           [exec]       at Soy.patch (../../../node_modules/metal-incremental-dom/src/IncrementalDomRenderer.js:107:3)
           [exec]       at Soy.patch [as render] (../../../node_modules/metal-incremental-dom/src/IncrementalDomRenderer.js:124:9)
           [exec]       at Numeric.render [as renderComponent] (../../../node_modules/metal-component/src/Component.js:623:23)
           [exec]       at Numeric.renderComponent (../../../node_modules/metal-component/src/Component.js:174:9)
           [exec]       at new Numeric (src/main/resources/META-INF/resources/Numeric/Numeric.es.js:56:70)
           [exec]       at Object.it (test/js/Numeric/Numeric.es.js:39:15)
           [exec] 
           [exec]   ??? Field Numeric ??? is not readOnly
           [exec] 
           [exec]     TypeError: Cannot read property 'editingLanguageId' of undefined
           [exec] 
           [exec]       18 | 	class WithLocale extends Component {
           [exec]       19 | 		prepareStateForRender(states) {
           [exec]     > 20 | 			const {editingLanguageId} = this.context.store;
           [exec]          | 			       ^
           [exec]       21 | 			const languageValues = [];
           [exec]       22 | 
           [exec]       23 | 			Object.keys(this.localizedValue).forEach(key 
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                support-lep@liferay.com SE Support
                Reporter:
                calvin.vo Calvin Vo
                Participants of an Issue:
                Recent user:
                Alex Candido
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  13 weeks, 4 days ago

                  Packages

                  Version Package