After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 664760 - Passing a file path (not uri) to installation media makes wizard behave oddly
Passing a file path (not uri) to installation media makes wizard behave oddly
Status: RESOLVED FIXED
Product: gnome-boxes
Classification: Applications
Component: general
3.3.x (unsupported)
Other Linux
: Normal normal
: 3.22
Assigned To: Zeeshan Ali
GNOME Boxes maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2011-11-24 20:54 UTC by doctorkohaku
Modified: 2016-03-31 13:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Support paths as URI from wizard as well (2.32 KB, patch)
2011-11-28 17:17 UTC, Zeeshan Ali
committed Details | Review

Description doctorkohaku 2011-11-24 20:54:06 UTC
Passing a file path in the "Enter URL" field that doesn't start with "file://" and pressing the Continue button will make the wizard proceed to the "Analyzing installer media." without actually doing anything. The Continue button remains active and clicking it takes me to an empty Review screen. The Create button on the Review screen is clickable, but doesn't seem to do anything.
This only happens if the path points to an existing file, so it seems like there is some parsing/checking going on.

Steps to reproduce:
1. Create a box
2. Pass a valid file path (not URI) as the URL
3. Press Continue
Actual result: Strange things start happening
Expected result: The path should be handled as a file:// URI
Proposed fix: When the URL is not a valid URI, check if it's a path pointing to an existing file, display error otherwise.
Comment 1 Zeeshan Ali 2011-11-28 17:17:13 UTC
Created attachment 202304 [details] [review]
Support paths as URI from wizard as well
Comment 2 Marc-Andre Lureau 2011-11-28 17:58:09 UTC
Review of attachment 202304 [details] [review]:

ack
Comment 3 Zeeshan Ali 2011-11-28 18:10:55 UTC
Attachment 202304 [details] pushed as eede34c - Support paths as URI from wizard as well