Univention Bugzilla – Full Text Bug Listing |
Summary: | umcpProgressCommand() does not respect the module flavor | ||
---|---|---|---|
Product: | UCS | Reporter: | Alexander Kläser <klaeser> |
Component: | UMC (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Alexander Kläser <klaeser> |
Severity: | normal | ||
Priority: | P5 | CC: | best, damrose, walkenhorst |
Version: | UCS 4.0 | ||
Target Milestone: | UCS 4.0-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
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): | ||
Max CVSS v3 score: | |||
Attachments: | Screenshot |
Description
Alexander Kläser
2014-11-19 13:57:49 CET
The reason for this is that umc/tools::umcpProgressCommand() does not respect the module flavor when sending the progress requests. handleErrors is also not passed to the sub-call. Should this be fixed, too? Fix for flavor would be: diff --git a/ucs-4.0-0/management/univention-management-console-frontend/umc/tools.js b/ucs-4.0-0/management/univention-management-console-frontend/umc/tools.js index 0e09475..9adda32 100644 --- a/ucs-4.0-0/management/univention-management-console-frontend/umc/tools.js +++ b/ucs-4.0-0/management/univention-management-console-frontend/umc/tools.js @@ -465,7 +465,7 @@ define([ var allData = []; var splitIdx = commandStr.lastIndexOf('/'); var progressCmd = commandStr.slice(0, splitIdx) + '/progress'; - this.umcpProgressSubCommand(progressCmd, progressID).then( + this.umcpProgressSubCommand(progressCmd, progressID, undefined, flavor).then( function() { deferred.resolve(allData); }, function() { @@ -490,11 +490,11 @@ define([ return deferred; }, - umcpProgressSubCommand: function(progressCmd, progressID, deferred) { + umcpProgressSubCommand: function(progressCmd, progressID, deferred, flavor) { if (deferred === undefined) { deferred = new Deferred(); } - this.umcpCommand(progressCmd, {'progress_id' : progressID}).then( + this.umcpCommand(progressCmd, {'progress_id' : progressID}, undefined, flavor).then( lang.hitch(this, function(data) { deferred.progress(data.result); if (data.result.finished) { fixed in univention-management-console-frontend 4.1.105-4.967.201412011157. YAML: adjusted Changes: OK YAML entry: OK Package version: OK |