Univention Bugzilla – Bug 49907
Dialog when closing the computer room module during a class test
Last modified: 2019-09-26 10:32:52 CEST
As a teacher I would like to receive a question when closing the computer room module during a class test if I would like to finish the class test in order not to let the class test continue inadvertently. Further requirements: - Text pop-up dialog: Title: Close Body: Do you really want to close the class test mode? The class work mode will then be closed. All related class test documents are collected from the student home directories and stored in the corresponding class test directory below your home directory. If you do so WITHOUT EXITING, you can open the computer room module again later and return to the class test mode. Please do not miss to finish the class test. - Pop-Up Dialog Options CANCEL, EXIT CLASS WORK, WITHOUT EXIT Continue - Preselection: FINISH CLASS WORK Questions to be answered: - What happens if I change the "focus"? E.g. another module in the tab. - What happens if I unsubscribe? - What happens if I am unsubscribed? Acceptance criteria: 1 Assuming I am in class test mode in the computer room module, when I click on CLOSE a pop-up "Close" with the above options appears. Assuming the pop-up dialog appears, the CANCEL link takes me back to the Computer Room Module/Class Work Mode. Assuming the pop-up dialog appears, the link EXIT CLASS WORK takes me back to the computer room module and finishes the class test first. Assuming the pop-up dialog appears, the link WITHOUT EXIT PROGRESS leads me to the UMC home view without exiting the class test.
Implemented on fb/4.4/49907
Reopen: Missing translation: "Close computerroom module" random "body =" line. Copy paster error? ;) jshint complains about some missing semicolons It's not possible to close the module if the "Choose room" dialog was aborted instead of choosing a room.
No idea how the fragment slipped into the commit.. Removed Translation added Semicoli added Fixed no room select problem
What I tested: Closed module without exam -> No warning -> OK Closed module with exam -> Warning -> OK Closed module without an opened room -> OK -> Ready for merge -> Reopen for merge
Package: ucs-school-umc-computerroom Version: 11.0.0-5A~4.4.0.201909120915 Branch: ucs_4.4-0 Scope: ucs-school-4.4 Package: ucs-test-ucsschool Version: 6.0.49A~4.4.0.201909120918 Branch: ucs_4.4-0 Scope: ucs-school-4.4
Merge -> ok YAML -> OK Johannes has helped me with the test: [4.4 8a27bfcd1] Bug #49907: fix 91_ucsschool-selenium/03_computerroom_endExam -> Verified
UCS@school 4.4 v3 has been released. https://docs.software-univention.de/changelog-ucsschool-4.4v3-de.html If this error occurs again, please clone this bug.