ohmage / gwt-front-end

The javascript/GWT code behind the front end.
6 stars 2 forks source link

Added to class, User cannot see on Class Detail page #235

Closed stevenolen closed 12 years ago

stevenolen commented 12 years ago

After adding myself to a class on the admin page I browsed to the Classes tab and did not see the new class appear until a full refresh (I suppose a log-out would also work) was done.

ghost commented 12 years ago

I am unable to reproduce this issue under these two possible scenarios for adding a user:

1) Creating a new class

When you create a new class for yourself, you must first add yourself as a member to the class (through Admin Edit Class) before the class will show up in the Classes tab. This worked as expected.

2) Adding yourself to an existing class

When I added my own username to the class, I was able to see this updated in my classes list immediately.

@stevenolen: Could you try to reproduce this bug?

stevenolen commented 12 years ago

Seems to be working now - I've walked through the exact steps I took last time and it no longer appears to be happening. Just to clarify I was using test case 2, I was logged in as admin (ohmage.steve) and was adding myself to an existing class (Faisal Test Class), clicked save changes and immediately clicked on the classes tab. Faisal Test Class originally did not appear, but does now! I'm going to close the ticket.