On 28/05/2015 15:02, Crístian Deives wrote:
I have found a few errors when testing this patchset:

- If I select a file which doesn't exist, I get the error message " KCHVOL0020E: Storage volume capacity must be an integer number.", which makes no sense in this context. This errors seems to happen only when using Chrome but not Firefox.


- If I select a file which doesn't have read permissions, I get two errors:

"Can not contact the host system. Verify the host system is up and that you have network connectivity to it. HTTP request response rejected."

"Undefined"

And a "ghost" storage volume is listed inside the storage pool. And I can't find any special error message in the logs.


Is that also Chrome specific issue?

On 21-05-2015 18:08, Aline Manera wrote:
V1 - V2:
- Deal with non-existing file and read permission errors

Aline Manera (3):
  Storage volume upload: Keep the task tracking to update the UI
  Storage volume upload: Let the 'format' parameter be an empty string
  Enable storage volume upload on UI

 src/kimchi/API.json                             |  2 +-
 src/kimchi/mockmodel.py                         |  3 +-
 src/kimchi/model/storagevolumes.py              | 20 +++++--
 tests/test_model_storagevolume.py               |  2 +-
 ui/js/src/kimchi.api.js                         | 25 +++++++--
 ui/js/src/kimchi.storagepool_add_volume_main.js | 73 ++++++++++++++++++++++---
 ui/pages/i18n.json.tmpl                         |  2 +
 ui/pages/storagepool-add-volume.html.tmpl       |  4 +-
 8 files changed, 107 insertions(+), 24 deletions(-)