nextcloud / nextcloud/workflow_script
Not running the script for directories
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 89
- Forks
- 19
- Avg merge
- 6h 38m
- Merged PRs (30d)
- 3
Description
Hello, in the following line we are checking if the script is ran for a file(on tagging event)
Why is that check performed?
Why can't we run this script for a directory?
I need to perform compression on a directory and in the current state it is not possible to trigger it for a directory.
In the logs, I see that workflowengine does run, but does nothing :/
Flow activated by event OCP\SystemTag\ISystemTagObjectMapper::assignTags
Flow handling done for event OCP\SystemTag\ISystemTagObjectMapper::assignTags
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read lib/Operation.php at line 116 and trace how tagged file paths reach the external script. Reproduce the logged no-op for a directory and inspect the existing workflow event handling. Done means a directory-triggered workflow invokes the configured script as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100