server/apps/workflowengine/lib
Joas Schilling d4d3725bfe
Only cache the mimetype if the file exists
Otherwise files access control will cache "application/octet-stream"
for all the target node on:
rename, move, copy and all other methods which create a new item

To check this:
1. Add an automated tagging rule which tags on mimetype NOT "httpd/unix-directory"
2. Add an access control rule which checks for any mimetype
3. Create a folder and rename it, the folder should not be tagged, but it is

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-14 10:05:45 +02:00
..
AppInfo entities equip the RuleMatcher on the events they are aware of 2019-09-09 22:56:06 +02:00
Check Only cache the mimetype if the file exists 2019-10-14 10:05:45 +02:00
Command scope aware workflow controller and manager 2019-09-09 22:56:02 +02:00
Controller kill old non-OCS Controller 2019-09-09 22:56:04 +02:00
Entity File entity supports tagging events now 2019-09-09 23:59:31 +02:00
Helper scope aware workflow controller and manager 2019-09-09 22:56:02 +02:00
Migration Fix "Cannot add a NOT NULL column with default value NULL" 2019-09-26 15:51:55 +02:00
Service fix order/entity types when setting the context 2019-09-10 00:52:27 +02:00
Settings extends ICheck with scope and entity support, provide them as initialState 2019-09-09 22:56:04 +02:00
Manager.php Add endpoint to test operations before submitting 2019-09-10 09:01:22 +02:00