Skip to content

Deleting range of annotations produces error #227

Description

@martinleopold

Tested with: branch master (f40361e)

Shift-selecting a range of annotations and pressing the Delete Icon produces an error:

  • Reset to sample project
  • In the timeline, click on the first annotation of the first track ('MGM Title Card')
  • Shift-click on the third annotation in the same track ('Credits'). This selects the first four annotations
  • Click the delete button in the Toolbar.
  • Annotations are not deleted
  • Selection is stuck. Cannot deselect annotations or select other annotations.
  • Error in console:
core.js:6237 ERROR TypeError: Cannot read property 'filter' of undefined
    at embedAnnotations (http://localhost:4200/main.js:5844:35)
    at http://localhost:4200/main.js:7676:114
    at http://localhost:4200/vendor.js:107826:54
    at http://localhost:4200/vendor.js:105880:16
    at ArrayMapNode.push../node_modules/immutable/dist/immutable.es.js.ArrayMapNode.iterate.HashCollisionNode.iterate (http://localhost:4200/vendor.js:106278:9)
    at Map.__iterate (http://localhost:4200/vendor.js:105878:18)
    at Set.__iterate (http://localhost:4200/vendor.js:107826:22)
    at Set.forEach (http://localhost:4200/vendor.js:108212:17)
    at reducer (http://localhost:4200/main.js:7673:21)
    at combination (http://localhost:4200/vendor.js:95994:37)

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions