Skip to content

Cache can not get the parent #583

@nickvergessen

Description

@nickvergessen

Steps

  1. Create a group folder

  2. Create a folder inside this group folder and apply a tag folder

  3. Create an automated tagging rule

    • If file (or parent) is tagged with folder apply tag file
  4. Upload a file in the tagged folder from 2.

  5. Expect the file to be tagged with file, but it's not 💥

The problem is that
https://github.com/nextcloud/server/blob/738730f7b280884cc89c272bbab2a21caa8a24dd/apps/workflowengine/lib/Check/FileSystemTags.php#L156

Can not find the parents.
Due to the CacheJail, you end up with __groupfolders/1/__groupfolders/1/folder in https://github.com/nextcloud/server/blob/0487144b2679f83f9a6b59b55561af062f692836/lib/private/Files/Cache/Wrapper/CacheWrapper.php#L148

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions