I have one of the early releases of Moodle 2.0.1 installed and came across the following error. I've been testing enrolment and unenrolment. I don't know exactly at what point this error occurred but when adding and deleting roles I got the following error message:
TypeError: 'panel.user' is null or not an object.
The other thing that I noticed is if I enroll a user that is already self enrolled, again manually, another enrolment method for the same role comes up. Also, the roles don't seem to synchronize with enrolment methods. If I delete all the roles the user stills seems to be enrolled into the course.