Skip to content

Conversation

@artonge
Copy link
Contributor

@artonge artonge commented 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

@artonge artonge requested a review from a team as a code owner September 15, 2025 09:11
@artonge artonge requested review from Altahrim, nfebe and provokateurin and removed request for a team September 15, 2025 09:11
@artonge artonge self-assigned this Sep 15, 2025
@artonge artonge requested a review from juliusknorr September 15, 2025 09:12
@artonge artonge added bug 3. to review Waiting for reviews feature: activity and notification php Pull requests that update Php code labels Sep 15, 2025
@artonge artonge added this to the Nextcloud 33 milestone Sep 15, 2025
@artonge
Copy link
Contributor Author

artonge commented Sep 15, 2025

/backport to stable32

@artonge
Copy link
Contributor Author

artonge commented Sep 15, 2025

/backport to stable31

@artonge artonge force-pushed the artonge/fix/favorite_activity branch from 07ac029 to 38c12ac Compare September 15, 2025 09:13
@artonge artonge force-pushed the artonge/fix/favorite_activity branch from 38c12ac to cef7455 Compare September 15, 2025 09:22
@artonge artonge force-pushed the artonge/fix/favorite_activity branch from cef7455 to 90b8662 Compare September 15, 2025 09:46
@artonge artonge force-pushed the artonge/fix/favorite_activity branch 3 times, most recently from b388bc4 to c835bd1 Compare September 15, 2025 12:42
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 <[email protected]>
@artonge artonge force-pushed the artonge/fix/favorite_activity branch from c835bd1 to 634e8d2 Compare September 15, 2025 13:04
Copy link
Member

@AndyScherzinger AndyScherzinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@artonge artonge merged commit c374886 into master Sep 15, 2025
221 of 227 checks passed
@artonge artonge deleted the artonge/fix/favorite_activity branch September 15, 2025 14:38
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.

[Bug]: Activity: “Add to Favorites” does not show filename in Nextcloud 31

6 participants