https://bugs.documentfoundation.org/show_bug.cgi?id=106428

            Bug ID: 106428
           Summary: RFE:  diagnose non-existent file earlier
           Product: LibreOffice
           Version: 5.4.0.0.alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Base
          Assignee: [email protected]
          Reporter: [email protected]

Description:
The program could helpfully diagnose a reference to a non-existent firebird
database file as soon as the user enters the URL.

Steps to Reproduce:
1. Run soffice with parameter --base
2. In step 1 of database wizard, click "Connect to existing database" and in
the dropdown list select "Firebird File".
3. In step 2 of wizard, in datasource url, type a well-formed url for a
non-existent file.  My example was
       file:///home/terry/x/bug_10xxxx/bug_106427/thing.fdb
4. Continue and save the new .odb.

Actual Results:  
>From step 2 of database wizard, the program proceeds happily.

Upon displaying the main database window, the program presents message (a line
split for readability):
    The connection to the data source "thing" could not be established.
    Error code: 1
    firebird_sdbc error:
    *I/O error during "open O_CREAT" operation for file
        "/vista/Users/terry/lo_hacking/notes/bug_106247/thing.fdb"
    *Error while trying to create file
    *No such file or directory
    caused by
    'isc_create_database'


Expected Results:
It would be more helpful for the program to present the message in step two of
the database wizard.


Reproducible: Didn't try

User Profile Reset: No

Additional Info:
There is a slightly obscure workaround available.  Menu options Edit > Database
> Properties... allow correction (and immediate validation) of the URL.


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Firefox/45.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to