I updated to the new XWiki 17.9 version. The activity macro crashed, so I switched to notifications as recommended. However, the spaces-restriction does not work at all. Here is my code:
could you give a bit more information? Do you have any error in the logs related to this? Have you tried to perform changes in some pages in “Main.Departments” to see the result?
Maybe you can try to use displayMinorEvents=“true” displaySystemEvents=“true” to ensure the events you’re trying to see are not just filtered out. Also might worth trying to see events of a specific page using e.g. pages=“Main.Departments.WebHome” (if that page exists) instead of the spaces parameters to ensure it’s not a problem related to the space.
Thanks for the pointers! I actually figured it out - the space I mentioned included a “&” character (I used a dummy caption in my original post) which caused the macro to break down. It works fine otherwise.