no they wont. i have done it and they explain it with lag and sync errors.
If it is a Lag or Sync error then you would still have the medals. If you lost the medals and the star level then it is a bug. Point that out in the ticket.
The opinions expressed on this post are my own as a player, not as a Moderator.