GNOME Bugzilla – Bug 586684
Can't open documents using a centrally-hosted database
Last modified: 2009-06-24 12:38:52 UTC
When creating a document with a centrally hosted database, then Glom asks for a username and password to log in to the database server. However, when opening the created document later, Glom does not ask again, and can therefore not open the database on the server. If I am not missing something, then we can either ask the user for the password every time the user opens the document, as we did in 1.10, or save the database password in the glom document. I'd prefer the first choice. Note that this would be only for a centrally hosted database. To reproduce, simply create a new centrally-hosted document (whether you do this from an example file or whether you create an empty document does not matter), close Glom, reopen it and try to load the newly created document.
Yes, it should ask when opening the document.
Fixed with this commit: 2009-06-24 Armin Burgmeier <armin@openismus.com> * glom/application.cc (on_document_load): Only provide a known user name and password for self-hosted databases, and ask the user for the database password for centrally-hosted ones. * glom/frame_glom.cc (connection_request_password_and_attempt): Show the connection dialog for centrally hosted connections, and fix trying to login with the same (wrong) credentials all the time without giving the user a chance to correct them. This fixes bug #586684.