How to reproduce the problem:
- Create a course with groups.
- Enrol a student that doesn't belong to any group.
- Create a workshop configured to use Visible groups.
- Move the workshop to submission phase.
- As the student, enter the workshop and add a submission.
- Call the WebService mod_workshop_get_submissions with the student's token, passing the workshopid and groupid=0 (or don't include the groupid, it's the same). Check that you don't receive the student submission.
Adding the student to any group fixes the issue.