test mode bugs

Bug #1040051 reported by Marten de Vries
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenTeacher
Status tracked in 3.x
3.x
Triaged
Medium
Unassigned

Bug Description

- In the test mode, when you login as administrator (in our 'demo data' i.e. with the credentials marten:test), you can get to the teacher panel, test take panel and the upload lesson dialog while all are no administrator business.
- When opening multiple instances of panels at the same time, it gives problems, e.g. login dialogs that don't dissapear automatically, or allow you to login twice (as far as I saw the last login is kept, but it just shouldn't work that way.)
- Pressing cancel in the file dialog after going to 'Upload lesson' gives errors. (loose translation: zip file can't be read)
- Teacher seems to be able to take a test (gui doesn't deny it.)
- Student can 'upload' a lesson (at least, if the server wouldn't deny it.)

The last things could maybe be solved by just clearly displaying the 401 Unauthorized error message, but not showing the dialogs in the first place might be nicer.

EDIT: One last thing: we shouldn't ship the test server with a db. That prevents it from directly starting, but also makes sure no one is going to use the default admin credentials :P.

Tags: test
Changed in openteacher:
milestone: none → 3.0
description: updated
Revision history for this message
Marten de Vries (marten-de-vries) wrote :

Postponed to 3.1 since we decided not to include the test stuff in 3.0.

Changed in openteacher:
milestone: 3.0 → 3.1
Revision history for this message
Marten de Vries (marten-de-vries) wrote :

Postponed to 3.2. Raised priority a bit too, because I think it's been postponed long enough. :P

Revision history for this message
Marten de Vries (marten-de-vries) wrote :

Another bug report by MichaelTel: When first connecting to the server it fails. He said 'it looks like it's a time out of establishing a connection with the server.' on IRC.

Confirmed by commandoline, when I enter something like 'sdfsdf' as an address, I get a socket.error. Anyway. Improved error handling should cover both cases.

Revision history for this message
Marten de Vries (marten-de-vries) wrote :

More info on MichaelTel's bug report: openteacher crashed with URLError in do_open():<urlopen error [Errno 110] Verbinding is verlopen>. Tested with the hostname 'vps.marten-de-vries.nl' (or something similar, but doesn't matter, since there's no server running there).

description: updated
Revision history for this message
BlueT - Matthew Lien - 練喆明 (bluet) wrote :

still expecting this. :-)

Revision history for this message
Marten de Vries (marten-de-vries) wrote :

Unassigning 3.3. The server code of this is broken, and the first priority should be to get a release with updated dependencies out.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.