Skip to content

[Bug]: Incorrect data structure for webhook event TagAssignedEvent #61443

@luka-nextcloud

Description

@luka-nextcloud

⚠️ This issue respects the following points: ⚠️

Bug description

Regarding the document https://docs.nextcloud.com/server/latest/admin_manual/webhook_listeners/index.html#system-tag-events , the property objectIds must be array instead of object. Related code change: https://github.com/nextcloud/server/pull/51649/changes#diff-843f35b8d9a9401cb57f39eb6c719fdaf83447f3ace33887bc4c8ddfd4f6839aR289

Steps to reproduce

Reproduce steps:

  1. Enable and setup app webhook_listeners
  2. Register webhook for events OCP\SystemTag\TagAssignedEvent or OCP\SystemTag\TagUnassignedEvent
  3. Assign / Un-assign tag(s) for a file/folder
  4. Check the webhook payload

Expected behavior

Code change should be fixed.

Nextcloud Server version

35 (master)

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

Metadata

Metadata

Type

No fields configured for Bug.

Projects

Status
In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions