Sjoerd Adema

Results 8 comments of Sjoerd Adema

This happens because `$metadata['visibility'] = false`. It tries to use that `false` as an index for `$this->permissions` and the `false` is casted to `0`. The indexes in `$this->permissions['dir']` are `private`...

After doing some research, the error originates in het `MemoryAdapter`. When creating a new directory, the visibility isn't stored properly. I still think you should validate the metadata properties though.

@twistor Bump! I really need this PR for my project

I need an in-memory FS with directory support for https://github.com/twistor/flysystem-stream-wrapper. I've created an [issue](https://github.com/twistor/flysystem-stream-wrapper/issues/12) about a more defensive approach to the visibility Furthermore, the in-memory adapter is capable of directory...

This would be awesome! I also requested this for for https://github.com/maruohon/servux/issues/6

Can confirm that the same happens after using a GitLab webhook to update Satis. Basically, we push 2 branches (`support` & `master`) in quick succession (the Satis commands themselves are...

The above issue with the document_root can be fixed with Craft::getPathOfAlias('webroot'). Since this is a core Yii alias it won't get changed any time soon and is safe to use!

Hey man, i've already coded the above improvements. Give me a shout when u want my ComrpessorService.php