Kexi/Junior Jobs/Ask for password when Test Connection

Jump to: navigation, search

Status: DONE, Target: 2.8.7, Difficulty: EASY

Assigned to: Roman Shtemberko <rshtemberko@milosolutions.com>

Proposed and mentored by Jstaniek (talk) 09:58, 6 November 2014 (UTC)

Description

(Issue found by Roman)

In “Add/Edit a New Database Connection” dialog "Test Connection" function isn't working without checking “Save Password in The Shortcut file” check-box. But enabling this option shouldn't be required.

See:

plasma-desktopFJ1850.png

The Task

Kexi should ask for password if it's not known. Check if password is needed, and ask if needed. Look for the getPasswordIfNeeded() function, and how it's used elsewhere in Kexi connection assistants.

Notes: Only ask for password when needed. Kexi associates the password with connection data in memory even if it's not saved to disk, so the above function will take advantage of that and next the time question won't be asked (until Kexi is restarted).


This page was last modified on 18 November 2014, at 22:52. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2 unless otherwise noted.