Problem/Motivation

Using an object storage streamwrapper the concept of directories do not exist and scanning a path is not possible.

Steps to reproduce

Use an object storage streamwrapper try to delete a submission watch it blow up.

Proposed resolution

The check should be for "is this directory?" instead of "does this file exist". Even for normal streamwrappers it's more correct semantically.

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3386171_2.patch756 bytesghost of drupal past

Comments

Charlie ChX Negyesi created an issue. See original summary.

ghost of drupal past’s picture

Issue summary: View changes
StatusFileSize
new756 bytes
jrockowitz’s picture

Version: 6.2.x-dev » 6.1.x-dev
Status: Needs review » Reviewed & tested by the community

Let's backport this to 6.1.x

ghost of drupal past’s picture

Applies cleanly to 6.1.x as well.

jrockowitz’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.