Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

[12.0] muk_dms: Error when searching on root folder in Documents view #144

Open
mkanderson opened this issue Jun 19, 2020 · 0 comments
Open

Comments

@mkanderson
Copy link

Description: entering an arbitrary search string in the search field of the Documents view while a root directory is selected causes the following error:

`Error:
Uncaught TypeError: Cannot read property 'odoo_id' of undefined

https://demo12.mukit.at/web/content/1015-ba35e8a/web.assets_backend.js:4234
Traceback:
TypeError: Cannot read property 'odoo_id' of undefined
at Class._searchNodes (https://demo12.mukit.at/web/content/1015-ba35e8a/web.assets_backend.js:4234:372)
at Class.search (https://demo12.mukit.at/web/content/1015-ba35e8a/web.assets_backend.js:4229:216)
at Class._searchData (https://demo12.mukit.at/web/content/1015-ba35e8a/web.assets_backend.js:4219:413)
at $.jstree.plugins.contextmenu.search (https://demo12.mukit.at/muk_dms_view/static/lib/jsTree/jstree.js:7531:15)
at Class.search (https://demo12.mukit.at/web/content/1015-ba35e8a/web.assets_backend.js:4211:3014)
at Class. (https://demo12.mukit.at/web/content/1015-ba35e8a/web.assets_backend.js:4254:346)
at later (https://demo12.mukit.at/web/content/1014-96363f7/web.assets_common.js:46:255)`

Reproducible at https://demo12.mukit.at/

  • Navigate to "Documents" application, "Documents" menu, select a root folder "Documents Access Control" or "Documents Storage" and type anything the search bar.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant