https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38899
Paul Derscheid <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA CC| |[email protected] --- Comment #15 from Paul Derscheid <[email protected]> --- Is this just me being dumb? jquery-migrate-3.3.2.min_24.1200036.js:2 JQMIGRATE: Migrate is installed, version 3.3.2 flatpickr.min_24.1200036.js:2 TypeError: Cannot read properties of undefined (reading 'appendChild') at Object.onReady (shortcut-buttons-flatpickr.min_24.1200036.js:2:3024) at pe (flatpickr.min_24.1200036.js:2:34535) at flatpickr.min_24.1200036.js:2:48317 at E (flatpickr.min_24.1200036.js:2:48331) at k (flatpickr.min_24.1200036.js:2:48618) at jQuery.fn.jQuery.fn.flatpickr (flatpickr.min_24.1200036.js:2:49426) at apply_flatpickr (acqui-home.pl:1585:7166) at HTMLInputElement.<anonymous> (acqui-home.pl:1585:7823) at S.each (jquery-3.6.0.min_24.1200036.js:2:3003) at s.fn.init.each (jquery-3.6.0.min_24.1200036.js:2:1481) k @ flatpickr.min_24.1200036.js:2 jQuery.fn.jQuery.fn.flatpickr @ flatpickr.min_24.1200036.js:2 apply_flatpickr @ acqui-home.pl:1585 (anonymous) @ acqui-home.pl:1585 each @ jquery-3.6.0.min_24.1200036.js:2 each @ jquery-3.6.0.min_24.1200036.js:2 (anonymous) @ acqui-home.pl:1585 e @ jquery-3.6.0.min_24.1200036.js:2 t @ jquery-3.6.0.min_24.1200036.js:2 setTimeout (anonymous) @ jquery-3.6.0.min_24.1200036.js:2 c @ jquery-3.6.0.min_24.1200036.js:2 fireWith @ jquery-3.6.0.min_24.1200036.js:2 fire @ jquery-3.6.0.min_24.1200036.js:2 c @ jquery-3.6.0.min_24.1200036.js:2 fireWith @ jquery-3.6.0.min_24.1200036.js:2 ready @ jquery-3.6.0.min_24.1200036.js:2 B @ jquery-3.6.0.min_24.1200036.js:2 flatpickr.min_24.1200036.js:2 TypeError: Cannot read properties of undefined (reading 'appendChild') at Object.onReady (shortcut-buttons-flatpickr.min_24.1200036.js:2:3024) at pe (flatpickr.min_24.1200036.js:2:34535) at flatpickr.min_24.1200036.js:2:48317 at E (flatpickr.min_24.1200036.js:2:48331) at k (flatpickr.min_24.1200036.js:2:48618) at jQuery.fn.jQuery.fn.flatpickr (flatpickr.min_24.1200036.js:2:49426) at apply_flatpickr (acqui-home.pl:1585:7166) at HTMLInputElement.<anonymous> (acqui-home.pl:1585:7823) at S.each (jquery-3.6.0.min_24.1200036.js:2:3003) at s.fn.init.each (jquery-3.6.0.min_24.1200036.js:2:1481) k @ flatpickr.min_24.1200036.js:2 jQuery.fn.jQuery.fn.flatpickr @ flatpickr.min_24.1200036.js:2 apply_flatpickr @ acqui-home.pl:1585 (anonymous) @ acqui-home.pl:1585 each @ jquery-3.6.0.min_24.1200036.js:2 each @ jquery-3.6.0.min_24.1200036.js:2 (anonymous) @ acqui-home.pl:1585 e @ jquery-3.6.0.min_24.1200036.js:2 t @ jquery-3.6.0.min_24.1200036.js:2 setTimeout (anonymous) @ jquery-3.6.0.min_24.1200036.js:2 c @ jquery-3.6.0.min_24.1200036.js:2 fireWith @ jquery-3.6.0.min_24.1200036.js:2 fire @ jquery-3.6.0.min_24.1200036.js:2 c @ jquery-3.6.0.min_24.1200036.js:2 fireWith @ jquery-3.6.0.min_24.1200036.js:2 ready @ jquery-3.6.0.min_24.1200036.js:2 B @ jquery-3.6.0.min_24.1200036.js:2 AcquisitionsMenu.vue:309 [Vue warn]: injection "permissionsStore" not found. at <App ordermanage=1 orderreceive=1 edifact=0 ... > warn @ runtime-core.esm-bundler.js:38 inject @ runtime-core.esm-bundler.js:1646 setup @ AcquisitionsMenu.vue:309 callWithErrorHandling @ runtime-core.esm-bundler.js:155 setupStatefulComponent @ runtime-core.esm-bundler.js:7204 setupComponent @ runtime-core.esm-bundler.js:7159 mountComponent @ runtime-core.esm-bundler.js:5508 processComponent @ runtime-core.esm-bundler.js:5483 patch @ runtime-core.esm-bundler.js:5085 render @ runtime-core.esm-bundler.js:6244 render @ runtime-dom.esm-bundler.js:1548 _update @ runtime-dom.esm-bundler.js:591 resolve @ runtime-dom.esm-bundler.js:544 _resolveDef @ runtime-dom.esm-bundler.js:551 connectedCallback @ runtime-dom.esm-bundler.js:478 (anonymous) @ islands.ts:110 step @ index.mjs:34 (anonymous) @ index.mjs:34 asyncGeneratorStep @ index.mjs:34 _next @ index.mjs:34 Promise.then asyncGeneratorStep @ index.mjs:34 _next @ index.mjs:34 (anonymous) @ index.mjs:34 (anonymous) @ index.mjs:34 (anonymous) @ islands.ts:103 (anonymous) @ islands.ts:103 step @ index.mjs:34 (anonymous) @ index.mjs:34 asyncGeneratorStep @ index.mjs:34 _next @ index.mjs:34 (anonymous) @ index.mjs:34 (anonymous) @ index.mjs:34 requestIdleCallback hydrate @ islands.ts:87 (anonymous) @ acqui-home.pl:1187 islands.ts:110 [Vue warn]: Unhandled error during execution of setup function at <App ordermanage=1 orderreceive=1 edifact=0 ... > warn @ runtime-core.esm-bundler.js:38 logError @ runtime-core.esm-bundler.js:212 handleError @ runtime-core.esm-bundler.js:204 callWithErrorHandling @ runtime-core.esm-bundler.js:158 setupStatefulComponent @ runtime-core.esm-bundler.js:7204 setupComponent @ runtime-core.esm-bundler.js:7159 mountComponent @ runtime-core.esm-bundler.js:5508 processComponent @ runtime-core.esm-bundler.js:5483 patch @ runtime-core.esm-bundler.js:5085 render @ runtime-core.esm-bundler.js:6244 render @ runtime-dom.esm-bundler.js:1548 _update @ runtime-dom.esm-bundler.js:591 resolve @ runtime-dom.esm-bundler.js:544 _resolveDef @ runtime-dom.esm-bundler.js:551 connectedCallback @ runtime-dom.esm-bundler.js:478 (anonymous) @ islands.ts:110 step @ index.mjs:34 (anonymous) @ index.mjs:34 asyncGeneratorStep @ index.mjs:34 _next @ index.mjs:34 Promise.then asyncGeneratorStep @ index.mjs:34 _next @ index.mjs:34 (anonymous) @ index.mjs:34 (anonymous) @ index.mjs:34 (anonymous) @ islands.ts:103 (anonymous) @ islands.ts:103 step @ index.mjs:34 (anonymous) @ index.mjs:34 asyncGeneratorStep @ index.mjs:34 _next @ index.mjs:34 (anonymous) @ index.mjs:34 (anonymous) @ index.mjs:34 requestIdleCallback hydrate @ islands.ts:87 (anonymous) @ acqui-home.pl:1187 runtime-core.esm-bundler.js:218 Uncaught TypeError: Cannot destructure property 'isUserPermitted' of 'permissionsStore' as it is undefined. at setup (AcquisitionsMenu.vue:310:17) at callWithErrorHandling (runtime-core.esm-bundler.js:155:1) at setupStatefulComponent (runtime-core.esm-bundler.js:7204:1) at setupComponent (runtime-core.esm-bundler.js:7159:1) at mountComponent (runtime-core.esm-bundler.js:5508:1) at processComponent (runtime-core.esm-bundler.js:5483:1) at patch (runtime-core.esm-bundler.js:5085:1) at Object.render (runtime-core.esm-bundler.js:6244:1) at render (runtime-dom.esm-bundler.js:1548:1) at HTMLElement._update (runtime-dom.esm-bundler.js:591:1) setup @ AcquisitionsMenu.vue:310 callWithErrorHandling @ runtime-core.esm-bundler.js:155 setupStatefulComponent @ runtime-core.esm-bundler.js:7204 setupComponent @ runtime-core.esm-bundler.js:7159 mountComponent @ runtime-core.esm-bundler.js:5508 processComponent @ runtime-core.esm-bundler.js:5483 patch @ runtime-core.esm-bundler.js:5085 render @ runtime-core.esm-bundler.js:6244 render @ runtime-dom.esm-bundler.js:1548 _update @ runtime-dom.esm-bundler.js:591 resolve @ runtime-dom.esm-bundler.js:544 _resolveDef @ runtime-dom.esm-bundler.js:551 connectedCallback @ runtime-dom.esm-bundler.js:478 (anonymous) @ islands.ts:110 step @ index.mjs:34 (anonymous) @ index.mjs:34 asyncGeneratorStep @ index.mjs:34 _next @ index.mjs:34 Promise.then asyncGeneratorStep @ index.mjs:34 _next @ index.mjs:34 (anonymous) @ index.mjs:34 (anonymous) @ index.mjs:34 (anonymous) @ islands.ts:103 (anonymous) @ islands.ts:103 step @ index.mjs:34 (anonymous) @ index.mjs:34 asyncGeneratorStep @ index.mjs:34 _next @ index.mjs:34 (anonymous) @ index.mjs:34 (anonymous) @ index.mjs:34 requestIdleCallback hydrate @ islands.ts:87 (anonymous) @ acqui-home.pl:1187 And also: Sticky toolbar 1) Should stick on scroll 0 passing (3s) 1 failing 1) Sticky toolbar Should stick on scroll: TypeError: The following error originated from your application code, not from Cypress. > Cannot destructure property 'isUserPermitted' of 'permissionsStore' as it is undefined. When Cypress detects uncaught errors originating from your application it will automatically fail the current test. This behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event. https://on.cypress.io/uncaught-exception-from-application at setup (http://localhost:8081/intranet-tmpl/prog/js/vue/dist/acquisitions-menu.09f785f53cd6ce2fae1b.esm.js:99:17) at callWithErrorHandling (http://localhost:8081/intranet-tmpl/prog/js/vue/dist/islands.esm_24.1200036.js:3673:22) at setupStatefulComponent (http://localhost:8081/intranet-tmpl/prog/js/vue/dist/islands.esm_24.1200036.js:10706:29) at setupComponent (http://localhost:8081/intranet-tmpl/prog/js/vue/dist/islands.esm_24.1200036.js:10661:11) at mountComponent (http://localhost:8081/intranet-tmpl/prog/js/vue/dist/islands.esm_24.1200036.js:9012:13) at processComponent (http://localhost:8081/intranet-tmpl/prog/js/vue/dist/islands.esm_24.1200036.js:8987:17) at patch (http://localhost:8081/intranet-tmpl/prog/js/vue/dist/islands.esm_24.1200036.js:8589:21) at Object.render (http://localhost:8081/intranet-tmpl/prog/js/vue/dist/islands.esm_24.1200036.js:9748:13) at render (http://localhost:8081/intranet-tmpl/prog/js/vue/dist/islands.esm_24.1200036.js:13085:22) at HTMLElement._update (http://localhost:8081/intranet-tmpl/prog/js/vue/dist/islands.esm_24.1200036.js:12128:9) I am unsure whether I applied something wrong, or whether this is a real failure? Setting this to FQA, please reset to 'Signed off' if I made a mistake somewhere: - Applied this bug and all dependencies onto current upstream/main - reset_all as suggested - yarn build - restart_all - Manually tested stickyness (which works and is not the reason for FQA) - Saw the above mentioned errors + warnings in the console acqui-home.pl - Ran the cypress spec, ran into above failure -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
