Repository navigation
Closed
Labels
Description
Describe the bug
Member of the project space gets no notification when the membership expires.
Steps to reproduce
- As user
Alice, create a project spacediamondSpace - As user
Alice, share spacediamondSpacetodemouser - set expiration date for the project space
Expected behavior
Expected to get notification after the access to projectSpace expires.
Similar to expiration of resource: Share to 'test.txt' expired at 2025-01-16 16:25:59
Actual behavior
No notification for expired membership( received notification for being added to the space only ).
curl -u demo:root -X GET "https://localhost:9200/ocs/v2.php/apps/notifications/api/v1/notifications?format=json" -vk | jqResponse:
{
"ocs": {
"meta": {
"message": "",
"status": "",
"statuscode": 200
},
"data": [
{
"notification_id": "7c432eac-216a-49bd-9214-ce1cb7c28e08",
"app": "userlog",
"user": "alice",
"datetime": "2025-01-16T17:26:16.54305473+05:45",
"object_id": "d7dd27bc-06f8-4247-9336-7cd9bb77ad9b$f036ce14-ea20-46b1-88c3-2c2e940fdd77",
"object_type": "storagespace",
"subject": "Space shared",
"subjectRich": "Space shared",
"message": "alice added you to Space diamondSpace",
"messageRich": "{user} added you to Space {space}",
"messageRichParameters": {
"space": {
"id": "d7dd27bc-06f8-4247-9336-7cd9bb77ad9b$f036ce14-ea20-46b1-88c3-2c2e940fdd77!f036ce14-ea20-46b1-88c3-2c2e940fdd77",
"name": "diamondSpace"
},
"user": {
"displayname": "alice",
"id": "49eb53b5-176d-4175-9da9-f7d5582546d9",
"name": "alice"
}
}
}
]
}
}
Tested On:
Infinite Scale 7.1.0-rc.1 Community
ownCloud Web UI 11.1.0
Activity
saw-jan commentedon Jan 17, 2025
^ CC @2403905 @bastianbeier
If this is bug or not implemented yet
bastianbeier commentedon Jan 17, 2025
@2403905 seems that there is no SpaceMembershipExpired event emitted?
I think we saw the same behaviour yesterday when trying if the notification service can recover from the nil pointer. (cs3org/reva#5043)
2403905 commentedon Jan 17, 2025
It's not implemented. I don't see any emitters for this event.
saw-jan commentedon Jan 17, 2025
So, will this be implemented in the coming releases? If yes, then we can skip the testing for this for ocis 7.1.0
2403905 commentedon Jan 17, 2025
Please, skip the testing for this for ocis 7.1.0
saw-jan commentedon Jan 17, 2025
👍 Okey. Thanks!
Add test scenario for issue #10882
2403905 commentedon Feb 27, 2025
Please validate. Some fixes have been merged
#10919
https://github.com/cs3org/reva/pull/5051/files
2403905 commentedon Feb 27, 2025
It works but buggy
After the space share expired the
shareedoesn't get notification until thesharertriggershttps://localhost:9200/graph/v1beta1/me/drives?%24orderby=name+asc&%24filter=driveType+eq+projectAdd test scenario for issue #10882
Add test scenario for issue #10882
2403905 commentedon Feb 28, 2025
Already merged the fix #11079
Add test scenario for issue #10882
Add test scenario for issue #10882
Add test scenario for issue #10882
Add test scenario for issue #10882
Add new API acceptance test for issue #10882
Add new API acceptance test for issue #10882
Add new API acceptance test for issue #10882