When scheduler is configured to create a new revision on publishing / unpublishing, the revision user is set to owner instead of current user.
1. Install drupal with standard profile and scheduler module.
2. Log in as admin and go to /admin/structure/types/manage/article and enable scheduler to publish/unpublish and to create revision.
3. Go to /node/add/article, type "test" as title and enable scheduled publishing/unpublishing, save
4. After publish/unpublish time, go to /admin/config/system/cron and click "Run cron"
5. Go to /admin/reports/dblog and see there is an entry of type "scheduler" with message like "Article: scheduled publishing of test." and user "Anonymous (not verified)"
6. See the revisions page of the article created in step 3 and see there is an entry with message like "Published by Scheduler. The scheduled publishing date was dd/mm/yyyy - hh:mm." by admin.
Expected result: the revision entry should be by Anonymous (not verified).
Actual result: the revision entry is by admin.
Closed: works as designed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.