Giter VIP home page Giter VIP logo

Comments (3)

alvaro9210 avatar alvaro9210 commented on August 17, 2024

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.
image
Thanks for reporting the issue!!

from carbonldp-workbench.

alvaro9210 avatar alvaro9210 commented on August 17, 2024

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.

alvaro9210 avatar alvaro9210 commented on August 17, 2024

This has been solved in v1.0.0-alpha.3 of the workbench. Please update.
Closing #57 too.

from carbonldp-workbench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.