Open ValheruPL opened 2 weeks ago
You might need to add a new check Mimetype > is not > Folder
then.
Folders also have a size of 0 when they are empty, so it might be tagged as well
What if I would like to upload folder ? :) Upload means all upload files and folders, so, main folder, I manually created is not uploaded, right? So this feature should not tagged my main folder.
Once again, look at steps:
Actual behaviour: MAIN (not uploaded) folder "test" and (uploaded) sample file have been tagged with "test_tag"
Upload means all upload files and folders, so, main folder, I manually created is not uploaded, right?
Size is the only thing that is "upload only". The problem that appears here is that your folder test/
is modified during the upload of the file inside. So it's an upload-request, the size is >= 0 MB
=> apply tag. While it might not be intended in this case, it definitely is intended to block access with access control in similar cases.
So you have to workaround it manually here.
It's not a bug, it's a feature? :)) I think it is bug, because folder is not uploaded actually, so the trigger "upload" does not works correctly. The addon is poorly written, but, what can I say if you think the add-on works properly...
There are 2 layers:
The tagging behaves as defined here.
The question is whether the workflow engine is behaving correct. It's notifying us that the folder matched all the rules. And well the rule is applying because an upload is done with an email file.
nevertheless, somewhere is issue :)
Steps to reproduce
Expected behaviour
only sample file should have a tag, not folder - only sample file is uploaded.
Actual behaviour
folder "test" and sample file have been tagged with "test_tag"
Server configuration
Operating system:
Ubuntu 20.04.6 LTS
Web server: Server version: Apache/2.4.41 (Ubuntu) Server built: 2024-04-10T17:46:26
Database: Type: mysql Version: 10.5.10
PHP version: Version: 8.1.29
Nextcloud version: (see Nextcloud admin page) 29.0.3
Where did you install Nextcloud from: webinstaller
Signing status:
List of activated apps: Enabled:
Nextcloud configuration:
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... LDAP
Client configuration
Browser: Chrome
Operating system: MacOS / Linux / Windows 10/11
Logs
Nextcloud log (data/owncloud.log)
Browser log