https://bugzilla.wikimedia.org/show_bug.cgi?id=44963

       Web browser: ---
            Bug ID: 44963
           Summary: WebVideoTranscodeJob can return Status instead of bool
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: TimedMediaHandler
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

At a certain point in WebVideoTranscodeJob::run() $status changes from a bool
to a Status object, and is then returned. The return value of Job::run() is
expected to be a status, and if it's otherwise, that may lead to issues.

Since Gerrit 48860, any non-boolean result is interpreted as true, which makes
the issues less severe, but this should nevertheless be fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to