Menu

#21 Undefined variable: filename in MthkTask_request_video_capture_json.php on line 153

2.0
closed
Peter B.
None
2025-11-19
2025-11-19
Peter B.
No

Warning in request_video_capture task:

Notice: Undefined variable: filename in /opt/dva-profession/devel/trunk/bin/tasks/MthkTask_request_video_capture_json.php on line 153

Discussion

  • Peter B.

    Peter B. - 2025-11-19

    Indeed, there was $contents, not $filename - but the issue went way deeper: Errors detected during parsing of the JSON request were not properly propagated as error message - and for another reason, failure of load_capture_request() did /NOT/ trigger the task to go to error.

     
  • Peter B.

    Peter B. - 2025-11-19
    • status: open --> closed
     
  • Peter B.

    Peter B. - 2025-11-19

    Fixed in rev.563:

    Error messages and handling in general has been improved (using RuntimeExceptions).

     

Log in to post a comment.

MongoDB Logo MongoDB