Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Sep 15, 2025

Backport of #55122

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot backportbot bot added bug 3. to review Waiting for reviews feature: activity and notification php Pull requests that update Php code labels Sep 15, 2025
@backportbot backportbot bot added this to the Nextcloud 31.0.10 milestone Sep 15, 2025
The `$path` argument was added in #48612, but was never actually used by the callers. The path was therefore missing in the favorite/unfavorite events, which lead to a broken activity information.

I also added a fallback to handle `addToFavorites` and `removeFromFavorites`, which are part of a public API, and are calling `tagAs` and `untag` without `$path`.

Fix nextcloud/activity#2134

Signed-off-by: Louis Chemineau <louis@chmn.me>
@artonge artonge force-pushed the backport/55122/stable31 branch from fd6ce5f to d7775cb Compare September 15, 2025 14:52
It was not caught by the CI on master, but is blocking in the backports.

Signed-off-by: Louis Chemineau <louis@chmn.me>
@artonge artonge marked this pull request as ready for review September 15, 2025 15:10
@AndyScherzinger AndyScherzinger merged commit 26f455b into stable31 Sep 15, 2025
207 of 219 checks passed
@AndyScherzinger AndyScherzinger deleted the backport/55122/stable31 branch September 15, 2025 16:46
@blizzz blizzz mentioned this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug feature: activity and notification php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants