Skip to content

TypeError: Cannot read properties of undefined (reading '0') #4112

Closed

Description

@bjester

Observed behavior

Dragging and dropping a node from a nested folder, upwards to the root (via the sidebar) hits an error

vue.runtime.esm.js:619 [Vue warn]: Error in v-on handler: "TypeError: Cannot read properties of undefined (reading '0')"
found in
---> <DraggableCollection> at shared/views/draggable/DraggableCollection.vue
       <VNavigationDrawer>
         <ResizableNavigationDrawer> at shared/views/ResizableNavigationDrawer.vue
           <DraggableRegion> at shared/views/draggable/DraggableRegion.vue
             <TreeViewBase> at channelEdit/views/TreeView/TreeViewBase.vue
               <TreeView> at channelEdit/views/TreeView/index.vue
                 <VApp>
                   <Root>

vue.runtime.esm.js:1897 TypeError: Cannot read properties of undefined (reading '0')
    at VueComponent.handleDragDrop (CurrentTopicView.vue:541:1)
    at VueComponent.handleDragDrop (index.vue:393:1)
    at VueComponent.handleRegionDrop (index.vue:378:1)
    at invokeWithErrorHandling (vue.runtime.esm.js:1863:1)
    at VueComponent.invoker (vue.runtime.esm.js:2188:1)
    at invokeWithErrorHandling (vue.runtime.esm.js:1863:1)
    at Vue.$emit (vue.runtime.esm.js:3903:1)
    at container.js:296:1

Screenshot from 2023-06-06 09-53-13

Expected behavior

No errors should occur

Usage Details

  • OS: Ubuntu 22.04
  • Browser: Chrome 114.x

Activity

  1. bjester commented on Jun 6, 2023

    @bjester
    MemberAuthor

    It appears the move will still complete. It isn't immediately clear what the repercussions are

  2. self-assigned this
    on Jun 16, 2023
  3. vkWeb commented on Dec 23, 2023

    @vkWeb
    Contributor

    I think its done. Closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions