Bug 31258 - settings are not correctly displayed
settings are not correctly displayed
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Computer room
UCS@school 3.0
Other Linux
: P5 normal (vote)
: UCS@school 3.1 R2
Assigned To: Alexander Kläser
Florian Best
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-02 10:40 CEST by Alexander Kläser
Modified: 2013-06-07 21:39 CEST (History)
3 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2013-05-02 10:40:23 CEST
The following problems should be rechecked for UCS@school 3.1 R2.


+++ This bug was initially created as a clone of Bug #31193 +++

The settings in the computerroom module aren't displayed correctly on initial
load.

Reproduce:
* open computerroom
* set some settings
* close computerroom
* open computerroom
* open settings dialog
→ the default settings are displayed

From Bug 31193, comment #2:
> 1)
> After opening a computerroom, the message "Benutzerdefinierte Einstellungen für
> den Computerraum sind aktiv" is shown. If I press on "Ändern", the popup dialog
> appears and the message (in background) switches automatically to "Keine
> benutzerdefinierten Einstellungen für den Computerraum sind aktiv", even if no
> dropdown widget has been changed manually.
> 
> 2)
> If a dropdown widget is changed to another value, the message always changes
> accordingly. If a different value has been selected and "Abbrechen" has been
> clicked, the changed value seems to be stored in browser (but not in python
> backend). If the popup gets reopened, the last selected state is shown again,
> even if the dialog has been cancelled by "Abbrechen".
> 
> This way, the dialog still shows something different and not the current
> settings on server side → REOPEN
Comment 1 Alexander Kläser univentionstaff 2013-05-02 11:01:58 CEST
It seems that the values are displayed correctly, however, upon clicking "cancel" settings are not reset. A reload of the settings when opening the dialog would be an option (together with a standby animation during requesting the current values).
Comment 2 Alexander Kläser univentionstaff 2013-05-06 16:43:56 CEST
I ported the changes of the erratum to R2 such that this problem should be fixed now.

 ucs-school-umc-computerroom (2.0.22-1) unstable; urgency=low
 .
   * Bug #30841: clear internal store before switching to another room
   * Bug #31258: make sure that the SettingsDialog is up-to-date
Comment 3 Florian Best univentionstaff 2013-05-17 12:03:19 CEST
(In reply to comment #1)
> It seems that the values are displayed correctly, however, upon clicking
> "cancel" settings are not reset. A reload of the settings when opening the
> dialog would be an option (together with a standby animation during requesting
> the current values).
OK

Changelog OK
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2013-06-07 21:39:45 CEST
UCS@school 3.1 R2 has been released:
http://download.univention.de/doc/release-notes-ucsschool-3.1-rev2.pdf

If this error occurs again, please use "Clone This Bug".