first of all the infos:
Course format: standard
Course version: 2018051400
Theme version: For said course it's Aardvark, but it also happened in others with the standard theme
Server OS: Debian 9.5
Moodle: 3.5.2+ (Build: 20181005)
I was contacted by one of our customers today that reported a strange behavior when using the course export and restore feature. They reported that when using the restore feature that users would be populated into the newly restored course even though the export did not include enrolled users. I tried it myself and could not reproduce what they described as the admin-user. I then took control of the user that contacted me and did another export with no enrolled users. I imported the course and again everything worked fine and the way it should. Did the same thing again and suddenly I have 27 users in the course that have no role, no group, never been in the course and are manually enrolled into the course with the date of enrollment being April 6th 2016.
Has anyone had this happen to them? This sounds like a bug to me but I have not found anything on the internet about it so it looks like we are the first ones to have it.
Thanks in advanced for any suggestions.
(Edited by Gareth J Barnard - to remove questionable language with no point - original submission Thursday, 11 October 2018, 12:45 PM)