activity
activity copied to clipboard
[QA] Group name is wrong in expiry mail
Seen while testing 2.7.1-rc.1 with core 10.11.0-rc.1
- user admin shares his Documents folder with group admin. With todays date for expiry
- move the expiry date back in the past, so that it expires immediately mysql owncloud -e 'select * from oc_share where share_type=1 and uid_owner="admin";' # list the group shares mysql owncloud -e 'update oc_share set expiration="2022-09-11 00:00:00" where id=3;'' # using the correct id seen above and a date in the past.
- trigger the cron to send activiy for that expiry mysql owncloud -e 'update oc_activity_mq set amq_timestamp=0,amq_latest_send=0;' mysql owncloud -e 'update oc_jobs set last_run=0,last_checked=0,reserved_at=0;' occ system:cron
- mailhog_dump shows
Hello admin,
You are receiving this email because the following things happened at https://oc10110rc1-activity-271rc1-20220912.jw-qa.owncloud.works/
* You removed the share of group auto:automation for Documents - January 1, 1970
- 'auto:automation' is shown as a group name.
- The grammer is weird.
Expected behaviour:
- 'auto:automation' removed the share of folder Documents for group admin - ...
Not exactly sure, which text is mailed when. In another situation - expiry over night - the mail reads:
Hello Alice in Wonderland,
You are receiving this email because the following things happened at https://oc10110rc1-activity-271rc1-20220912.jw-qa.owncloud.works/
* The share for Photos expired - Today