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 329802 - file save dialog won't allow postgres://foo
file save dialog won't allow postgres://foo
Status: VERIFIED WONTFIX
Product: GnuCash
Classification: Other
Component: Backend - SQL
git-master
Other All
: Normal major
: ---
Assigned To: Chris Shoemaker
linas
Depends on:
Blocks:
 
 
Reported: 2006-02-03 16:15 UTC by jamie
Modified: 2018-06-29 20:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jamie 2006-02-03 16:15:29 UTC
Please describe the problem:
in revision 12986, the file save dialog doesn't allow postgres://foo ..
specifically, response = gtk_dialog_run(GTK_DIALOG(file_box)); in gnc-file.c ,
in gnc_file_dialog().  The section of code after that talks about "looking for
constructs like postgres://foo" , but it's not reached due to gtk_dialog_run
refusing such things.

Steps to reproduce:
1. try to save your data using the postgres:// url format

Actual results:
dialog pops up : The folder contents could not be displayed, error getting
information for '/home/sokolsky/postgres:': No such file or directory

Expected results:
it should save my data into a postgres database, or alternately complain that my
postgres system is set up incorrectly, or there's a permissions problem, or some
such.

Does this happen every time?
yes

Other information:
Sorry to be submitting this bug but not fixing it, but I haven't done gtk
development before so I don't know enough about the gtk file dialog
eccentricities to know how to fix it.
Comment 1 Chris Shoemaker 2006-05-24 20:28:38 UTC
I've been unsuccessful at coercing thhe GtkFileChooser to accept these types of strings.  Apparently, the file-chooser is really for *files* and nothing else.

However, I think it may be acceptable to enable the parsing of these strings on the command-line only.

This would not allow a user to create a *new* postgres db from the gui, but it would allow them to open an existing db from the command-line or even perhaps create a new db from the command line.

The postgres functionality is going away so I think it's ok that the file dialog not support it.  The file dialog should still allow the user to save an opened postgres db to an xml file, though.

Closing as WONTFIX.
Comment 2 John Ralls 2018-06-29 20:56:45 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=329802. Please update any external references or bookmarks.