[PATCH] Fix debugreports download issue

Commit be5c57 renamed the debugreport uri field name from 'file' to 'uri' and updated the internal redireciton uri, but the UI side doesn't use internal redirect. So it still needs to update the corresponding UI code. --- ui/js/src/kimchi.host.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/js/src/kimchi.host.js b/ui/js/src/kimchi.host.js index d389702..ad62a55 100644 --- a/ui/js/src/kimchi.host.js +++ b/ui/js/src/kimchi.host.js @@ -347,7 +347,7 @@ kimchi.host_main = function() { } kimchi.downloadReport({ - file: report['file'] + file: report['uri'] }); } }], -- 1.8.4.2

Reviewed-by: Daniel Barboza <danielhb@linux.vnet.ibm.com> On 04/10/2014 04:09 AM, Mark Wu wrote:
Commit be5c57 renamed the debugreport uri field name from 'file' to 'uri' and updated the internal redireciton uri, but the UI side doesn't use internal redirect. So it still needs to update the corresponding UI code. --- ui/js/src/kimchi.host.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/src/kimchi.host.js b/ui/js/src/kimchi.host.js index d389702..ad62a55 100644 --- a/ui/js/src/kimchi.host.js +++ b/ui/js/src/kimchi.host.js @@ -347,7 +347,7 @@ kimchi.host_main = function() { }
kimchi.downloadReport({ - file: report['file'] + file: report['uri'] }); } }],

Applied. Thanks. Regards, Aline Manera
participants (3)
-
Aline Manera
-
Daniel H Barboza
-
Mark Wu