Comments (3)
I've confirmed the behavior. It seems that when a container queries for its children, if you double click it when it's making the request and the request hasn't finished, the node disappears causing an error with the tree library.
Thanks for reporting the issue!!
from carbonldp-workbench.
Adding extra console information for debugging purposes:
app.43679dca33355c574d85.js:1 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'state' of undefined
TypeError: Cannot read property 'state' of undefined
at e.jstree.plugins.wholerow.redraw_node (0.63dc1e304e246417972e.chunk.js:formatted:12922)
at e.jstree.plugins.wholerow.redraw_node (0.63dc1e304e246417972e.chunk.js:formatted:16513)
at e.jstree.plugins.wholerow.redraw_node (0.63dc1e304e246417972e.chunk.js:formatted:12950)
at e.jstree.plugins.wholerow.redraw_node (0.63dc1e304e246417972e.chunk.js:formatted:16513)
at e.jstree.plugins.wholerow.delete_node (0.63dc1e304e246417972e.chunk.js:formatted:13721)
at DocumentTreeViewComponent.emptyNode (0.63dc1e304e246417972e.chunk.js:formatted:19721)
at 0.63dc1e304e246417972e.chunk.js:formatted:19692
at ZoneDelegate.invoke (polyfills.ca4447d0991a01fbd3bd.js:1)
at Object.onInvoke (app.43679dca33355c574d85.js:1)
at ZoneDelegate.invoke (polyfills.ca4447d0991a01fbd3bd.js:1)
at e.jstree.plugins.wholerow.redraw_node (0.63dc1e304e246417972e.chunk.js:formatted:12922)
at e.jstree.plugins.wholerow.redraw_node (0.63dc1e304e246417972e.chunk.js:formatted:16513)
at e.jstree.plugins.wholerow.redraw_node (0.63dc1e304e246417972e.chunk.js:formatted:12950)
at e.jstree.plugins.wholerow.redraw_node (0.63dc1e304e246417972e.chunk.js:formatted:16513)
at e.jstree.plugins.wholerow.delete_node (0.63dc1e304e246417972e.chunk.js:formatted:13721)
at DocumentTreeViewComponent.emptyNode (0.63dc1e304e246417972e.chunk.js:formatted:19721)
at 0.63dc1e304e246417972e.chunk.js:formatted:19692
at ZoneDelegate.invoke (polyfills.ca4447d0991a01fbd3bd.js:1)
at Object.onInvoke (app.43679dca33355c574d85.js:1)
at ZoneDelegate.invoke (polyfills.ca4447d0991a01fbd3bd.js:1)
at resolvePromise (polyfills.ca4447d0991a01fbd3bd.js:1)
at resolvePromise (polyfills.ca4447d0991a01fbd3bd.js:1)
at polyfills.ca4447d0991a01fbd3bd.js:1
at ZoneDelegate.invokeTask (polyfills.ca4447d0991a01fbd3bd.js:1)
at Object.onInvokeTask (app.43679dca33355c574d85.js:1)
at ZoneDelegate.invokeTask (polyfills.ca4447d0991a01fbd3bd.js:1)
at Zone.runTask (polyfills.ca4447d0991a01fbd3bd.js:1)
at drainMicroTaskQueue (polyfills.ca4447d0991a01fbd3bd.js:1)
at ZoneTask.invokeTask [as invoke] (polyfills.ca4447d0991a01fbd3bd.js:1)
at p (polyfills.ca4447d0991a01fbd3bd.js:1)
| defaultErrorLogger | @ | app.43679dc….js:1
| ErrorHandler.handleError | @ | app.43679dc….js:1
| next | @ | app.43679dc….js:1
| t.object.o | @ | app.43679dc….js:1
| SafeSubscriber.__tryOrUnsub | @ | app.43679dc….js:1
| SafeSubscriber.next | @ | app.43679dc….js:1
| Subscriber._next | @ | app.43679dc….js:1
| Subscriber.next | @ | app.43679dc….js:1
| Subject.next | @ | app.43679dc….js:1
| EventEmitter.emit | @ | app.43679dc….js:1
| (anonymous) | @ | app.43679dc….js:1
| ZoneDelegate.invoke | @ | polyfills.ca4447d….js:1
| Zone.run | @ | polyfills.ca4447d….js:1
| NgZone.runOutsideAngular | @ | app.43679dc….js:1
| onHandleError | @ | app.43679dc….js:1
| ZoneDelegate.handleError | @ | polyfills.ca4447d….js:1
| Zone.runGuarded | @ | polyfills.ca4447d….js:1
| (anonymous) | @ | polyfills.ca4447d….js:1
| n.microtaskDrainDone | @ | polyfills.ca4447d….js:1
| drainMicroTaskQueue | @ | polyfills.ca4447d….js:1
| ZoneTask.invokeTask | @ | polyfills.ca4447d….js:1
| p | @ | polyfills.ca4447d….js:1
| h | @ | polyfills.ca4447d….js:1
| XMLHttpRequest.send (async) | |
| scheduleTask | @ | polyfills.ca4447d….js:1
| ZoneDelegate.scheduleTask | @ | polyfills.ca4447d….js:1
| onScheduleTask | @ | polyfills.ca4447d….js:1
| ZoneDelegate.scheduleTask | @ | polyfills.ca4447d….js:1
| Zone.scheduleTask | @ | polyfills.ca4447d….js:1
| Zone.scheduleMacroTask | @ | polyfills.ca4447d….js:1
| (anonymous) | @ | polyfills.ca4447d….js:1
| o.(anonymous function) | @ | polyfills.ca4447d….js:1
| (anonymous) | @ | app.43679dc….js:1
| ZoneAwarePromise | @ | polyfills.ca4447d….js:1
| sendWithBrowser | @ | app.43679dc….js:1
| Service.send | @ | app.43679dc….js:1
| Service.post | @ | app.43679dc….js:1
| Class.executeRawSELECTQuery | @ | app.43679dc….js:1
| Class.executeSELECTQuery | @ | app.43679dc….js:1
| (anonymous) | @ | app.43679dc….js:1
| (anonymous) | @ | app.43679dc….js:1
| ZoneAwarePromise | @ | polyfills.ca4447d….js:1
| promiseMethod | @ | app.43679dc….js:1
| Class.executeSELECTQuery | @ | app.43679dc….js:1
| DocumentTreeViewComponent.getNodeChildren | @ | 0.63dc1e304e24641797….js:formatted:19729
| DocumentTreeViewComponent.onBeforeOpenNode | @ | 0.63dc1e304e24641797….js:formatted:19691
| (anonymous) | @ | 0.63dc1e304e24641797….js:formatted:19659
| dispatch | @ | app.43679dc….js:1
| C.handle | @ | app.43679dc….js:1
| trigger | @ | app.43679dc….js:1
| triggerHandler | @ | app.43679dc….js:1
| trigger | @ | 0.63dc1e304e24641797….js:formatted:12054
| open_node | @ | 0.63dc1e304e24641797….js:formatted:12994
| toggle_node | @ | 0.63dc1e304e24641797….js:formatted:13073
| (anonymous) | @ | 0.63dc1e304e24641797….js:formatted:11886
| i | @ | app.43679dc….js:1
| dispatch | @ | app.43679dc….js:1
| C.handle | @ | app.43679dc….js:1
| ZoneDelegate.invokeTask | @ | polyfills.ca4447d….js:1
| onInvokeTask | @ | app.43679dc….js:1
| ZoneDelegate.invokeTask | @ | polyfills.ca4447d….js:1
| Zone.runTask | @ | polyfills.ca4447d….js:1
| ZoneTask.invokeTask | @ | polyfills.ca4447d….js:1
| p | @ | polyfills.ca4447d….js:1
| h | @ | polyfills.ca4447d….js:1
from carbonldp-workbench.
This has been solved in v1.0.0-alpha.3
of the workbench. Please update.
Closing #57 too.
from carbonldp-workbench.
Related Issues (20)
- Link of the document is missing its trailing slash
- Dropdown to add/edit pointer values do not allow for simple value editing
- Actions buttons of a property doesn't respect its container limits HOT 1
- Refactor document viewer component
- Prevent that the new properties will created with the same name HOT 1
- Changing view from the SPARQL client to another one and then changing back clears the response stack
- Change configuration to use Angular CLI
- Should SPARQL Update option be visible in Workbench? HOT 1
- Unable to delete document that is visible in the Workbench HOT 3
- Stop using Semantic UI
- Review/Change the way the workbench's configuration is modified from ENV variables
- Stop using jQuery HOT 1
- Replace jstree with an Material tree
- Double check to documentation files.
- Review existing tests and adapt configuration to use Angular CLI to run them
- Gateway Timeout There was a problem processing the request. Error when trying to use my Carbon LDP Workbench with a platform that was not deployed on port 8083 HOT 12
- Old ENV variables aren't working
- Sparql Client freeze when an variable is empty on a query
- Logo not visible in Chromium-based browsers
- Selection another format in the SPARQL Client is not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from carbonldp-workbench.