Bug 43986 - There is a JavaScript error thrown when opening the quota details for a user
There is a JavaScript error thrown when opening the quota details for a user
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Quota
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.2
Assigned To: Jürn Brodersen
Florian Best
: interim-4
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-03-20 15:34 CET by Alexander Kläser
Modified: 2017-04-04 18:29 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 5: Will affect all installed domains
How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.571
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
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 2017-03-20 15:34:55 CET

    
Comment 1 Alexander Kläser univentionstaff 2017-03-20 15:36:13 CET
When opening the quota details of a user, there is a JavaScript error thrown. I am not exactly sure which commit introduced this bug.
Comment 2 Alexander Kläser univentionstaff 2017-03-20 15:37:58 CET
... the bug might be related to the new dgrid (Bug 32027) as this._grid.getItem() is called on the action callback handler.

@Jürn, do you have maybe an idea?
Comment 3 Jürn Brodersen univentionstaff 2017-03-21 10:32:17 CET
r78023: fix getItem in grid
Build will follow
Comment 4 Florian Best univentionstaff 2017-03-22 19:05:00 CET
As discussed: revert the code and fix the quota module. This is code from 2011 and can be written better.
Comment 5 Jürn Brodersen univentionstaff 2017-03-23 10:26:19 CET
r78177: fix getItem in grid (2)
Package: univention-web
Version: 1.0.40-4

r78181: fix default action for partitions with active quota
Package: univention-quota
Version: 11.0.0-5
Comment 6 Florian Best univentionstaff 2017-03-23 14:05:28 CET
OK: Code-review
OK: functionality
OK: no changelog required
Comment 7 Stefan Gohmann univentionstaff 2017-04-04 18:29:21 CEST
UCS 4.2 has been released:
 https://docs.software-univention.de/release-notes-4.2-0-en.html
 https://docs.software-univention.de/release-notes-4.2-0-de.html

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