Bug 55990 - Loading issues with MultiObjectSelect widget in ucs-school-umc-groups UMC modules
Loading issues with MultiObjectSelect widget in ucs-school-umc-groups UMC mod...
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Classes / Teachers / Workgroup assignment
UCS@school 5.0
Other Linux
: P5 normal (vote)
: UCS@school 5.0 v3-errata
Assigned To: Johannes Keiser
Carlos García-Mauriño
:
Depends on:
Blocks: 56053
  Show dependency treegraph
 
Reported: 2023-04-19 12:37 CEST by Johannes Keiser
Modified: 2023-06-05 13:33 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.114
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023032221000406
Bug group (optional):
Max CVSS v3 score:


Attachments
schoolgroups_multiobjectselect_search_while_loading (142.07 KB, video/mp4)
2023-04-19 12:37 CEST, Johannes Keiser
Details
schoolgroups_multiobjectselect_wrong_selected_school (180.52 KB, video/mp4)
2023-04-19 12:37 CEST, Johannes Keiser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Keiser univentionstaff 2023-04-19 12:37:14 CEST
Created attachment 11060 [details]
schoolgroups_multiobjectselect_search_while_loading
Comment 1 Johannes Keiser univentionstaff 2023-04-19 12:37:39 CEST
Created attachment 11061 [details]
schoolgroups_multiobjectselect_wrong_selected_school
Comment 2 Johannes Keiser univentionstaff 2023-04-19 12:41:58 CEST
There are two loading related problems with the MultiObjectSelect widget to assign "Teachers", "Classes" and "Members" in the "Assign teacher", "Assign classes" and "Administrate workgroups" UMC modules.

1. You can perform a search while the values for the searchform are still loading.

See attachment 11060 [details] (schoolgroups_multiobjectselect_search_while_loading)

For the 'schoolgroups/users' request the 'school' field is required.
As you can see in the video it is possible to perform a search while the 'schools' are still loading (see 'pending' in the network tab)
and the request therefore fails.


2. The value of the hidden 'school' widget of the MultiObjectSelect searchform is not kept correctly in sync with the DetailPage.

(The school field in the popup dialog is normally hidden and only visible in the video to illustrate the bug)

See attachment 11061 [details] (schoolgroups_multiobjectselect_wrong_selected_school)

The 'school' field in the MultiObjectSelect searchform should be the same as in the DetailPage.
As the 'school' field is hidden and not correctly set the search results are "wrong"
Comment 6 Johannes Keiser univentionstaff 2023-05-11 11:05:22 CEST
66c09c90a Bug #55990: advisory
1afc5b5a3 Bug #55990: sync 'school' in MultiObjectSelct with DetailPage correctly

Successful build
Package: ucs-school-umc-groups
Version: 10.0.9A~5.0.0.202305111046
Branch: ucs_5.0-0
Scope: ucs-school-5.0
Comment 7 Johannes Keiser univentionstaff 2023-05-11 11:06:30 CEST
univention-web 4.0.3-3A~5.0.0.202305110948

has to be released before this can be released

See Bug #56053
Comment 8 Johannes Keiser univentionstaff 2023-05-24 10:07:12 CEST
Bug #56053 is released so this can be released now
Comment 9 J Leadbetter univentionstaff 2023-05-24 19:23:04 CEST
Errata updates for UCS@school 5.0 v3 have been released.

https://docs.software-univention.de/ucsschool-changelog/5.0v3/de/changelog.html

If this error occurs again, please clone this bug.
Comment 10 Mirac Erdemiroglu univentionstaff 2023-05-30 18:12:09 CEST
(In reply to J Leadbetter from comment #9)
> Errata updates for UCS@school 5.0 v3 have been released.
> 
> https://docs.software-univention.de/ucsschool-changelog/5.0v3/de/changelog.
> html
> 
> If this error occurs again, please clone this bug.


Could you put the erratum info please?
Comment 11 Carlos García-Mauriño univentionstaff 2023-05-31 08:27:54 CEST
(In reply to Mirac Erdemiroglu from comment #10)
> (In reply to J Leadbetter from comment #9)
> > Errata updates for UCS@school 5.0 v3 have been released.
> > 
> > https://docs.software-univention.de/ucsschool-changelog/5.0v3/de/changelog.
> > html
> > 
> > If this error occurs again, please clone this bug.
> 
> 
> Could you put the erratum info please?

univention-web 4.0.3-3:

* Bug #55990:
    - Add standby animation to widget loading dynamicValues
    - Added option to prevent search in MultiObjectSelect while search form loads

ucs-school-umc-groups version10.0.9A~5.0.0.202305111046:

* Fixed a problem where the modal to add "Members", "Teachers" and "Classes" in the "Administrate workgroups", "Administrate teachers" and "Administrate classes" UCS@school UMC modules respectively would show objects of a different school than selected (Bug #55990).
Comment 12 Carlos García-Mauriño univentionstaff 2023-06-05 13:33:46 CEST
https://errata.software-univention.de/#/?erratum=5.0x668