biigle / core

:large_blue_circle: Application core of BIIGLE
https://biigle.de
GNU General Public License v3.0
12 stars 15 forks source link

Error when splitting (rectangle) video annotation #693

Closed mzur closed 6 months ago

mzur commented 11 months ago

There was this error. Try to reproduce it and fix it:

      "class" => "ErrorException"
      "message" => "Undefined array key 2"
      "code" => 0
      "file" => "/var/www/app/VideoAnnotation.php:223"
      "trace" => array:60 [▼
        0 => "/var/www/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:254"
        1 => "/var/www/app/VideoAnnotation.php:223"
        2 => "/var/www/app/VideoAnnotation.php:188"
        3 => "/var/www/app/VideoAnnotation.php:158"
        4 => "/var/www/app/VideoAnnotation.php:144"
        5 => "/var/www/app/Http/Controllers/Api/SplitVideoAnnotationController.php:124"
        ...
      ]
    ]
  ]
lehecht commented 9 months ago

I struggle to reproduce the bug. Do you just split the multiframe rectangle video annotation on the timeline?

mzur commented 9 months ago

I don't know, I just saw this error in the log. If you really can't reproduce this, you can close the issue. While I think that there is a bug somewhere, it's no use if we can't reproduce it.