Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update collection2 #5253

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

StorytellerCZ
Copy link
Contributor

Update collection2 to v3.5 and all related packages and schemas. It was way outdated.

Also added few Mongo imports and updated one createIndex while at it.

Update collection2 to v3.5 and all related packages and schemas
@StorytellerCZ
Copy link
Contributor Author

As a side-effect other packages were also updated. If tests start failing then I will try to force them back.

Copy link

socket-security bot commented Dec 30, 2023

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/chai-as-promised@7.1.1 None +8 951 kB domenic
npm/chai@4.4.1 None +7 923 kB keithamus
npm/puppeteer@19.11.1 environment, filesystem Transitive: network, shell, unsafe +84 15.8 MB google-wombot
npm/sinon-chai@3.7.0 Transitive: environment, eval +22 8.25 MB simondel

View full report↗︎

@StorytellerCZ
Copy link
Contributor Author

The server tests run fine. Having some issues with running the client tests. Doesn't seem though that ./test-wekan.sh has been working for a while.

@xet7
Copy link
Member

xet7 commented Dec 31, 2023

With these changes, at browser inspect console, I get these warnings/errors, when I register, login and try to create new board:

Uncaught TypeError: Boards.simpleSchema()._schema['labels.$.color'] is undefined
    module labels.js:5
    maybeReady meteor.js:1001
    loadingCompleted meteor.js:1013
labels.js:5:23
    module labels.js:5
    maybeReady meteor.js:1001
    loadingCompleted meteor.js:1013

Use of Mutation Events is deprecated. Use MutationObserver instead. dombackend.js:55:9

downloadable font: Glyph bbox was incorrect (glyph ids 1 2 3 4 5 8 9 10 11 12 13 14 16 17 19 22 24 28 32 34 35 38 39 40 43 44 45 46 47 50 51 52 53 55 56 58 60 61 62 64 67 68 70 71 72 73 74 78 79 80 81 83 90 96 101 103 104 105 108 109 115 116 117 118 120 123 125 135 138 139 140 142 143 144 145 146 148 149 154 155 157 161 162 163 164 165 169 170 171 173 179 181 193 195 203 207 208 210 211 214 218 219 223 225 227 228 229 230 235 236 237 238 239 240 245 246 247 248 249 250 251 252 253 254 255 256 257 263 264 266 268 271 275 278 279 280 281 282 283 284 285 286 287 288 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 321 335 338 339 340 342 344 345 346 353 354 356 357 358 359 362 363 365 366 371 373 374 379 381 382 383 386 389 390 391 393 394 406 407 412 413 418 419 420 424 432 433 439 448 449 450 451 454 455 456 457 472 479 480 481 482 485 486 490 491 493 499 500 501 503 508 509 513 515 516 525 527 528 532 535 541 542 543 549 550 551 552 554 555 556 558 560 569 571 593 602 603 604 607 608 609 614 615 617 618 623 626 627 643 644 645 647 650 651 654 655 656 657 662 663 664 665 670 671 672 674 675 679 680 681 682 683 698 699 708 712 714 717 718 729 730 732 735 736 739 746 747 752 761 762 767 774 776 777 778 779 788 789 790 794 796 798 799 800 801 803 804 806 826 828 829 831 835 836 838 839 840 841 842 843 844 845 848 849 856 857 861 862 863 871 873 874 880 882 892 895 900 908 911 913 925 928 929 930 933 936 937 938 941 942 943 944 945 948 949 950 952 958 960 961 962 964 966 967 969 973 974 978 979 980 981 982 989 998 1000 1001 1005 1006 1008 1009 1011 1012 1013 1016 1020 1026 1027 1031 1036 1037 1042 1045 1048 1050 1052 1053 1057 1058 1060 1063 1072 1073 1076 1084 1087 1099 1104 1110 1111 1112 1116 1117 1121 1122 1124 1131 1136 1140 1141 1142 1147 1148 1151 1157 1163 1167 1168 1170 1177 1186 1187 1193 1196 1199 1200 1201 1204 1205 1208 1211 1212 1217 1218 1220 1224 1226 1228 1230 1231 1232 1233 1235 1236 1237 1238 1243 1246 1247 1249 1251 1256 1258 1259 1260 1261 1265 1268 1269 1271 1272 1273 1275 1276 1279 1285 1289 1290 1291 1292 1296 1297 1303 1304 1305 1309 1310 1311 1312 1317 1319 1320 1324 1325 1328 1329 1330 1331 1334 1335 1337 1339 1341 1343 1356 1357 1363 1369 1371 1372 1375 1376 1377 1382 1384 1387) (font-family: "Font Awesome 6 Free" style:normal weight:900 stretch:100 src index:0) source: http://localhost:4000/packages/wekan-fontawesome/fontawesome-free/webfonts/fa-solid-900.woff2

insert failed: getErrorObject@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:562:17
doValidate@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:534:13
module/</Mongo.Collection.prototype[methodName]@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:280:14
module/<@http://localhost:4000/packages/matb33_collection-hooks.js?hash=02626d6f4da0945d9ec35094731282c862c4e28c:618:18
module/extendCollectionInstance/</collection[method]@http://localhost:4000/packages/matb33_collection-hooks.js?hash=02626d6f4da0945d9ec35094731282c862c4e28c:270:21
onSubmit@http://localhost:4000/app/app.js?hash=7406efc2b1fcec03286bc85a94013fc91dceb609:6583:31
addEvents/eventMap[spec]/<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1497:28
wrapViewAndTemplate/</<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1473:14
module/Blaze._withCurrentView@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:1958:12
wrapViewAndTemplate/<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1472:18
module/Template._withTemplateInstanceFunc@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:3478:14
wrapViewAndTemplate@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1466:10
addEvents/eventMap[spec]@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1496:30
module/Blaze._addEventMap/attached_eventMaps/</</</<@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:2253:28
module/Blaze._withCurrentView@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:1958:12
module/Blaze._addEventMap/attached_eventMaps/</</<@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:2252:24
module/HandlerRec/this.delegatedHandler@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:716:24
dispatch@http://localhost:4000/packages/modules.js?hash=af62a22845a8fddd85e93c00f86a8ff36bf95a4e:178385:27
module/</add/elemData.handle@http://localhost:4000/packages/modules.js?hash=af62a22845a8fddd85e93c00f86a8ff36bf95a4e:178189:28
meteor.js:1122:23
insert failed 
Object { stack: "errorClass@http://localhost:4000/packages/meteor.js?hash=7dd187e6c4c7dc8731ddaf9d1d993d3c3ba5a732:752:20\n_livedata_result@http://localhost:4000/packages/ddp-client.js?hash=12df120d82048869c74b009c3544bf96a2f333dc:1812:23\nonMessage@http://localhost:4000/packages/ddp-client.js?hash=12df120d82048869c74b009c3544bf96a2f333dc:1961:12\nmodule/_launchConnection/this.socket.onmessage/<@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:198:19\nforEachCallback@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:267:31\nmodule/_launchConnection/this.socket.onmessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:197:14\nmodule/</</<[5]</r.prototype.dispatchEvent@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:517:48\nmodule/</</<[14]</</</y.prototype._transportMessage/<@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:889:53\nmodule/</</<[14]</</</y.prototype._transportMessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:888:41\nmodule/</</<[3]</i.prototype.emit@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:480:53\nmodule/</</<[38]</c/this.ws.onmessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:1853:43\n", isClientSafe: true, error: 403, reason: "Access denied", details: undefined, message: "Access denied [403]", errorType: "Meteor.Error" }
meteor.js:1124:23

insert failed: getErrorObject@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:562:17
doValidate@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:534:13
module/</Mongo.Collection.prototype[methodName]@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:280:14
module/<@http://localhost:4000/packages/matb33_collection-hooks.js?hash=02626d6f4da0945d9ec35094731282c862c4e28c:618:18
module/extendCollectionInstance/</collection[method]@http://localhost:4000/packages/matb33_collection-hooks.js?hash=02626d6f4da0945d9ec35094731282c862c4e28c:270:21
onSubmit@http://localhost:4000/app/app.js?hash=7406efc2b1fcec03286bc85a94013fc91dceb609:6583:31
addEvents/eventMap[spec]/<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1497:28
wrapViewAndTemplate/</<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1473:14
module/Blaze._withCurrentView@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:1958:12
wrapViewAndTemplate/<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1472:18
module/Template._withTemplateInstanceFunc@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:3478:14
wrapViewAndTemplate@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1466:10
addEvents/eventMap[spec]@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1496:30
module/Blaze._addEventMap/attached_eventMaps/</</</<@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:2253:28
module/Blaze._withCurrentView@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:1958:12
module/Blaze._addEventMap/attached_eventMaps/</</<@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:2252:24
module/HandlerRec/this.delegatedHandler@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:716:24
dispatch@http://localhost:4000/packages/modules.js?hash=af62a22845a8fddd85e93c00f86a8ff36bf95a4e:178385:27
module/</add/elemData.handle@http://localhost:4000/packages/modules.js?hash=af62a22845a8fddd85e93c00f86a8ff36bf95a4e:178189:28
meteor.js:1122:23

insert failed 
Object { stack: "errorClass@http://localhost:4000/packages/meteor.js?hash=7dd187e6c4c7dc8731ddaf9d1d993d3c3ba5a732:752:20\n_livedata_result@http://localhost:4000/packages/ddp-client.js?hash=12df120d82048869c74b009c3544bf96a2f333dc:1812:23\nonMessage@http://localhost:4000/packages/ddp-client.js?hash=12df120d82048869c74b009c3544bf96a2f333dc:1961:12\nmodule/_launchConnection/this.socket.onmessage/<@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:198:19\nforEachCallback@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:267:31\nmodule/_launchConnection/this.socket.onmessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:197:14\nmodule/</</<[5]</r.prototype.dispatchEvent@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:517:48\nmodule/</</<[14]</</</y.prototype._transportMessage/<@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:889:53\nmodule/</</<[14]</</</y.prototype._transportMessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:888:41\nmodule/</</<[3]</i.prototype.emit@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:480:53\nmodule/</</<[38]</c/this.ws.onmessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:1853:43\n", isClientSafe: true, error: 403, reason: "Access denied", details: undefined, message: "Access denied [403]", errorType: "Meteor.Error" }
meteor.js:1124:23
insert failed: getErrorObject@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:562:17
doValidate@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:534:13
module/</Mongo.Collection.prototype[methodName]@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:280:14
module/<@http://localhost:4000/packages/matb33_collection-hooks.js?hash=02626d6f4da0945d9ec35094731282c862c4e28c:618:18
module/extendCollectionInstance/</collection[method]@http://localhost:4000/packages/matb33_collection-hooks.js?hash=02626d6f4da0945d9ec35094731282c862c4e28c:270:21
onSubmit@http://localhost:4000/app/app.js?hash=7406efc2b1fcec03286bc85a94013fc91dceb609:6583:31
addEvents/eventMap[spec]/<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1497:28
wrapViewAndTemplate/</<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1473:14
module/Blaze._withCurrentView@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:1958:12
wrapViewAndTemplate/<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1472:18
module/Template._withTemplateInstanceFunc@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:3478:14
wrapViewAndTemplate@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1466:10
addEvents/eventMap[spec]@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1496:30
module/Blaze._addEventMap/attached_eventMaps/</</</<@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:2253:28
module/Blaze._withCurrentView@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:1958:12
module/Blaze._addEventMap/attached_eventMaps/</</<@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:2252:24
module/HandlerRec/this.delegatedHandler@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:716:24
dispatch@http://localhost:4000/packages/modules.js?hash=af62a22845a8fddd85e93c00f86a8ff36bf95a4e:178385:27
module/</add/elemData.handle@http://localhost:4000/packages/modules.js?hash=af62a22845a8fddd85e93c00f86a8ff36bf95a4e:178189:28
meteor.js:1122:23

insert failed 
Object { stack: "errorClass@http://localhost:4000/packages/meteor.js?hash=7dd187e6c4c7dc8731ddaf9d1d993d3c3ba5a732:752:20\n_livedata_result@http://localhost:4000/packages/ddp-client.js?hash=12df120d82048869c74b009c3544bf96a2f333dc:1812:23\nonMessage@http://localhost:4000/packages/ddp-client.js?hash=12df120d82048869c74b009c3544bf96a2f333dc:1961:12\nmodule/_launchConnection/this.socket.onmessage/<@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:198:19\nforEachCallback@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:267:31\nmodule/_launchConnection/this.socket.onmessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:197:14\nmodule/</</<[5]</r.prototype.dispatchEvent@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:517:48\nmodule/</</<[14]</</</y.prototype._transportMessage/<@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:889:53\nmodule/</</<[14]</</</y.prototype._transportMessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:888:41\nmodule/</</<[3]</i.prototype.emit@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:480:53\nmodule/</</<[38]</c/this.ws.onmessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:1853:43\n", isClientSafe: true, error: 403, reason: "Access denied", details: undefined, message: "Access denied [403]", errorType: "Meteor.Error" }
meteor.js:1124:23

insert failed: getErrorObject@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:562:17
doValidate@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:534:13
module/</Mongo.Collection.prototype[methodName]@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:280:14
module/<@http://localhost:4000/packages/matb33_collection-hooks.js?hash=02626d6f4da0945d9ec35094731282c862c4e28c:618:18
module/extendCollectionInstance/</collection[method]@http://localhost:4000/packages/matb33_collection-hooks.js?hash=02626d6f4da0945d9ec35094731282c862c4e28c:270:21
onSubmit@http://localhost:4000/app/app.js?hash=7406efc2b1fcec03286bc85a94013fc91dceb609:6583:31
addEvents/eventMap[spec]/<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1497:28
wrapViewAndTemplate/</<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1473:14
module/Blaze._withCurrentView@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:1958:12
wrapViewAndTemplate/<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1472:18
module/Template._withTemplateInstanceFunc@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:3478:14
wrapViewAndTemplate@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1466:10
addEvents/eventMap[spec]@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1496:30
module/Blaze._addEventMap/attached_eventMaps/</</</<@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:2253:28
module/Blaze._withCurrentView@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:1958:12
module/Blaze._addEventMap/attached_eventMaps/</</<@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:2252:24
module/HandlerRec/this.delegatedHandler@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:716:24
dispatch@http://localhost:4000/packages/modules.js?hash=af62a22845a8fddd85e93c00f86a8ff36bf95a4e:178385:27
module/</add/elemData.handle@http://localhost:4000/packages/modules.js?hash=af62a22845a8fddd85e93c00f86a8ff36bf95a4e:178189:28
meteor.js:1122:23

insert failed 
Object { stack: "errorClass@http://localhost:4000/packages/meteor.js?hash=7dd187e6c4c7dc8731ddaf9d1d993d3c3ba5a732:752:20\n_livedata_result@http://localhost:4000/packages/ddp-client.js?hash=12df120d82048869c74b009c3544bf96a2f333dc:1812:23\nonMessage@http://localhost:4000/packages/ddp-client.js?hash=12df120d82048869c74b009c3544bf96a2f333dc:1961:12\nmodule/_launchConnection/this.socket.onmessage/<@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:198:19\nforEachCallback@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:267:31\nmodule/_launchConnection/this.socket.onmessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:197:14\nmodule/</</<[5]</r.prototype.dispatchEvent@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:517:48\nmodule/</</<[14]</</</y.prototype._transportMessage/<@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:889:53\nmodule/</</<[14]</</</y.prototype._transportMessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:888:41\nmodule/</</<[3]</i.prototype.emit@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:480:53\nmodule/</</<[38]</c/this.ws.onmessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:1853:43\n", isClientSafe: true, error: 403, reason: "Access denied", details: undefined, message: "Access denied [403]", errorType: "Meteor.Error" }
meteor.js:1124:23

insert failed: getErrorObject@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:562:17
doValidate@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:534:13
module/</Mongo.Collection.prototype[methodName]@http://localhost:4000/packages/aldeed_collection2.js?hash=fc98c17436e449c038ac51247dc340740b6163be:280:14
module/<@http://localhost:4000/packages/matb33_collection-hooks.js?hash=02626d6f4da0945d9ec35094731282c862c4e28c:618:18
module/extendCollectionInstance/</collection[method]@http://localhost:4000/packages/matb33_collection-hooks.js?hash=02626d6f4da0945d9ec35094731282c862c4e28c:270:21
onSubmit@http://localhost:4000/app/app.js?hash=7406efc2b1fcec03286bc85a94013fc91dceb609:6583:31
addEvents/eventMap[spec]/<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1497:28
wrapViewAndTemplate/</<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1473:14
module/Blaze._withCurrentView@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:1958:12
wrapViewAndTemplate/<@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1472:18
module/Template._withTemplateInstanceFunc@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:3478:14
wrapViewAndTemplate@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1466:10
addEvents/eventMap[spec]@http://localhost:4000/packages/peerlibrary_blaze-components.js?hash=be72b552572fbe406fcda6231700f0bd9c2fd42a:1496:30
module/Blaze._addEventMap/attached_eventMaps/</</</<@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:2253:28
module/Blaze._withCurrentView@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:1958:12
module/Blaze._addEventMap/attached_eventMaps/</</<@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:2252:24
module/HandlerRec/this.delegatedHandler@http://localhost:4000/packages/blaze.js?hash=3687537ae8d8a79a49971194c7d289ba2e5abbc6:716:24
dispatch@http://localhost:4000/packages/modules.js?hash=af62a22845a8fddd85e93c00f86a8ff36bf95a4e:178385:27
module/</add/elemData.handle@http://localhost:4000/packages/modules.js?hash=af62a22845a8fddd85e93c00f86a8ff36bf95a4e:178189:28
meteor.js:1122:23

insert failed 
Object { stack: "errorClass@http://localhost:4000/packages/meteor.js?hash=7dd187e6c4c7dc8731ddaf9d1d993d3c3ba5a732:752:20\n_livedata_result@http://localhost:4000/packages/ddp-client.js?hash=12df120d82048869c74b009c3544bf96a2f333dc:1812:23\nonMessage@http://localhost:4000/packages/ddp-client.js?hash=12df120d82048869c74b009c3544bf96a2f333dc:1961:12\nmodule/_launchConnection/this.socket.onmessage/<@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:198:19\nforEachCallback@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:267:31\nmodule/_launchConnection/this.socket.onmessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:197:14\nmodule/</</<[5]</r.prototype.dispatchEvent@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:517:48\nmodule/</</<[14]</</</y.prototype._transportMessage/<@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:889:53\nmodule/</</<[14]</</</y.prototype._transportMessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:888:41\nmodule/</</<[3]</i.prototype.emit@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:480:53\nmodule/</</<[38]</c/this.ws.onmessage@http://localhost:4000/packages/socket-stream-client.js?hash=bd9a828c69309b508bc48e64db859bbf2d49f942:1853:43\n", isClientSafe: true, error: 403, reason: "Access denied", details: undefined, message: "Access denied [403]", errorType: "Meteor.Error" }
meteor.js:1124:23

@xet7
Copy link
Member

xet7 commented Dec 31, 2023

@StorytellerCZ

Yes, tests at test-wekan.sh have not worked for a while. Usually someone adds some tests with PR, does not add fixes to keep those tests working, so I disable or remove tests.

I have also removed eslint, prettier, etc that just cause additional too many changes.

@Lewiscowles1986
Copy link
Contributor

As this came up on a merged branch as well, I'm sure the mutation event vs observer warning is not part of these works, but represents a vendor dependency which has moved in main

slab/quill#2030 (after some digging into links) points to DOMNodeInserted being something that eventListeners bind to which has problems. Neither My patch or this one contains that listener.

@Lewiscowles1986
Copy link
Contributor

Also maybe of interest is that the quill eventual fix, was to silence the warning / error.

@StorytellerCZ
Copy link
Contributor Author

Figured out the schema issue. Will review the changes and fix things up.

@StorytellerCZ
Copy link
Contributor Author

@xet7 fixed now.
@Lewiscowles1986 I don't think that is related if it is happening in main as well.

Got stuck on sign-up due to the after action throwing errors due to undefined objects.
@xet7
Copy link
Member

xet7 commented Dec 31, 2023

@StorytellerCZ

With these newest changes, when I try to create new board, I get Access Denied.

wekan-create-board-bug

@StorytellerCZ
Copy link
Contributor Author

I will try to find some more time to do more testing and fixing.

@StorytellerCZ
Copy link
Contributor Author

Did few more fixes, but had a different error locally than you.

@xet7
Copy link
Member

xet7 commented Jan 13, 2024

@StorytellerCZ

When I do this:

  1. git clone https://github.com/wekan/wekan
  2. cd wekan
  3. ./rebuild-wekan.sh options 1 and 2
  4. merge this pull request
  5. meteor update
  6. npm update
  7. ./rebuild-wekan.sh option 3
  8. Register at /sign-up and login at /sign-in
  9. Create new board
  10. It shows "Page not found". When I reload page, there are 1 or 2 new boards. Instead, it should have opened that new created board, but that does not happen.

@xet7
Copy link
Member

xet7 commented Jan 13, 2024

@StorytellerCZ

I added this PR and meteor update and npm update to this branch, all of those updates added:

https://github.com/wekan/wekan/tree/meteor2.4-collection2

@StorytellerCZ
Copy link
Contributor Author

@xet7 feel free to push into this branch.

Copy link

socket-security bot commented Feb 5, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/puppeteer@19.11.1

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/puppeteer@19.11.1

@StorytellerCZ
Copy link
Contributor Author

I will try to push to the new simple-schema Meteor package next time. Hopefully that is going to help.

@xet7 xet7 mentioned this pull request Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants