stable
Clone or download
request #28864 document error is thrown when user navigate inside folder before its content have been finished to be loaded
How to reproduce: Have a folder with several items inside Unflod folder, navigate inside it before the load of element have finished Document app ends with global error Error is thrown inside console: document-fc0f1c573c2a998f020e.js:34 Uncaught (in promise) TypeError: Cannot read property 'level' of undefined at u.Dt (document-fc0f1c573c2a998f020e.js:34) at document-fc0f1c573c2a998f020e.js:1 at document-fc0f1c573c2a998f020e.js:7 at Array.forEach (<anonymous>) at document-fc0f1c573c2a998f020e.js:7 at u._withCommit (document-fc0f1c573c2a998f020e.js:7) at u.commit (document-fc0f1c573c2a998f020e.js:7) at Object.commit (document-fc0f1c573c2a998f020e.js:1) at document-fc0f1c573c2a998f020e.js:34 at c (tlp-fe32e4e25652e4aa2eff.tlp-en_US.js:89) With this patch the navigation continue Change-Id: I7dce27b20df9f49c0961ec85366694765b4c5b2b
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/document/scripts/document/store/mutations-folder-content.js | +3 | −0 | Go to diff View file |
M | plugins/document/scripts/document/store/mutations-folder-content.test.js | +24 | −0 | Go to diff View file |