Skip to content

[bug] using bulk action for tagging does not trigger workflows #51849

@susnux

Description

@susnux

But using "Manage tags" seems not to be the same as using the details bar. E.g. workflows which shall betriggered by tagging are not executed in case of "Manage tags" (probably some emit call is missing or broken). I can't find the issue report on the first view but saw something about it here or at help.nextcloud.com.

Originally posted by @XueSheng-GIT in #51814


Details by @D592VN5

Bug description

I assign a tag (tag is of public type) to a file. From the UI it looks like tag is properly assigned (tag appears on the file row and also under Tags filter page - index.php/apps/files/tags).

However, the event/activity of tag assignment does NOT appear in the activity app (index.php/apps/activity/all).

I double checked this with different tags and with different users.

In raw mysql table called 'oc_activity' there is also no such activity.

Log, even under debug level, does not mention anything about problems with tag assignment.

Nextcloud 31.02
Collaborative tags 1.21.1
No upgrade history, fresh install.
All the installed apps are strictly from the Store, verified/tested ones only.

The weird thing is that IF 'Files automated tagging' app is used for automatic tagging of files (like new files), then this event (triggered by the app) does appear in the activity app.

The problem with this is that I wanted to create a flow to generate PDFs based on tag assignment. It is not possible to do this with this bug, since NextCloud does not know that the tag has been assigned.

Here is a screenshot of how this event looks like in the Activities app when 'Files automated tagging' app tags a file itself.

Image

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions