Bug 1824410
| Summary: | Cockpit app fails to load | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Directory Server | Reporter: | Anuj Borah <aborah> | ||||||
| Component: | cockpit-389-ds | Assignee: | mreynolds | ||||||
| Status: | CLOSED ERRATA | QA Contact: | RHDS QE <ds-qe-bugs> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | urgent | ||||||||
| Version: | 11.0 | CC: | lkrispen, spichugi, tbordaz, vashirov | ||||||
| Target Milestone: | DS11.1 | Keywords: | TestBlocker | ||||||
| Target Release: | dirsrv-11.1 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | redhat-ds-11-8020020200417002137.51c5a973 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2020-04-29 08:04:57 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Cockpit app from the new build fails to load because of errors in plugins.jsx. It was not built properly and in index.js I see
/***/ "./src/plugins.jsx":
/*!*************************!*\
!*** ./src/plugins.jsx ***!
\*************************/
/*! exports provided: Plugins */
/***/ (function(module, exports) {
throw new Error("Module build failed (from ./node_modules/babel-loader/lib/index.js):\nSyntaxError: /home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/src/plugins.jsx: Unexpected token, expected \";\" (37:18)\n\n\u001b[0m \u001b[90m 35 | \u001b[39m }\u001b[0m\n\u001b[0m \u001b[90m 36 | \u001b[39m\u001b[0m\n\u001b[0m\u001b[31m\u001b[1m>\u001b[22m\u001b[39m\u001b[90m 37 | \u001b[39m constructor() {\u001b[0m\n\u001b[0m \u001b[90m | \u001b[39m \u001b[31m\u001b[1m^\u001b[22m\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 38 | \u001b[39m \u001b[36msuper\u001b[39m()\u001b[33m;\u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 39 | \u001b[39m\u001b[0m\n\u001b[0m \u001b[90m 40 | \u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mhandleFieldChange \u001b[33m=\u001b[39m \u001b[36mthis\u001b[39m\u001b[33m.\u001b[39mhandleFieldChange\u001b[33m.\u001b[39mbind(\u001b[36mthis\u001b[39m)\u001b[33m;\u001b[39m\u001b[0m\n at _class.raise (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:3939:15)\n at _class.unexpected (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:5248:16)\n at _class.semicolon (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:5232:40)\n at _class.parseExpressionStatement (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7676:10)\n at _class.parseStatementContent (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7272:19)\n at _class.parseStatement (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7153:17)\n at _class.parseBlockOrModuleBlockBody (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7707:23)\n at _class.parseBlockBody (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7694:10)\n at _class.parseBlock (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7683:10)\n at _class.parseFunctionBody (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:6933:24)\n at _class.parseFunctionBodyAndFinish (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:6913:10)\n at _class.parseMethod (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:6865:10)\n at _class.pushClassMethod (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:8087:30)\n at _class.parseClassMemberWithIsStatic (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:8006:12)\n at _class.parseClassMember (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7948:10)\n at _class.parseClassBody (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7903:12)\n at _class.parseClass (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7853:10)\n at _class.parseStatementContent (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7181:21)\n at _class.parseStatement (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7153:17)\n at _class.parseExportDeclaration (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:8244:17)\n at _class.parseExport (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:8191:31)\n at _class.parseStatementContent (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7240:27)\n at _class.parseStatement (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7153:17)\n at _class.parseBlockOrModuleBlockBody (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7707:23)\n at _class.parseBlockBody (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7694:10)\n at _class.parseTopLevel (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:7118:10)\n at _class.parse (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:8521:17)\n at parse (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/parser/lib/index.js:10513:38)\n at parser (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/core/lib/transformation/normalize-file.js:170:34)\n at normalizeFile (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/core/lib/transformation/normalize-file.js:138:11)\n at runSync (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/core/lib/transformation/index.js:44:43)\n at runAsync (/home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/core/lib/transformation/index.js:35:14)\n at /home/mareynol/source/ds389/389-ds-base/src/cockpit/389-console/node_modules/@babel/core/lib/transform.js:34:34\n at processTicksAndRejections (internal/process/task_queues.js:79:11)");
/***/ }),
Now we can load Cockpit 389-ds-base-1.4.2.12-1.module+el8dsrv+6328+f04d7471.x86_64 SS attached Created attachment 1680456 [details]
SS
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:1961 |
Created attachment 1679265 [details] SS Description of problem: Cockpit app fails to load Version-Release number of selected component (if applicable): [root@ci-vm-10-0-138-194 install]# rpm -qea | grep 389 389-ds-base-1.4.2.11-1.module+el8dsrv+6254+69a018e7.x86_64 python3-lib389-1.4.2.11-1.module+el8dsrv+6254+69a018e7.noarch cockpit-389-ds-1.4.2.11-1.module+el8dsrv+6254+69a018e7.noarch 389-ds-base-libs-1.4.2.11-1.module+el8dsrv+6254+69a018e7.x86_64 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: