Skip to content

Error: undefined variable $response in DAV storage #11140

Description

@ChristophWurst

Steps to reproduce

  1. Call
    protected function convertException(Exception $e, $path = '') {
  2. Hit
    // TODO: only log for now, but in the future need to wrap/rethrow exception
  3. Hit
    return $response;

Expected behaviour

Condition is detected and handled (logged, ignored).

Actual behaviour

An unexpected condition is met and a non-existent variable is accessed.

Ref https://sentry.rullzer.com/sentry/nextcloud/issues/150 (for people with access).

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions