https://bugs.kde.org/show_bug.cgi?id=506875

            Bug ID: 506875
           Summary: Don't leave orphaned empty translation memory
                    databases when creating a new project
    Classification: Applications
           Product: lokalize
      Version First unspecified
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: project management
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected], [email protected]
  Target Milestone: ---

SUMMARY
Multiple TM DBs are created when you name a project

STEPS TO REPRODUCE
1. Project →New software translation project
2. Select a directory
3. Directory name and parent is used as the "ID:" field in the popup to
configure the project
4. At this point even with the popup still open, Lokalize main window is
interactive, so open the Translation Memory tab (F7) and see the currently
selected TM is same as the name of the project you're creating
5. In the popup, rename the project ID to something else and OK to confirm
creation of the project

OBSERVED RESULT
Now there are two DBs: one with the original project name taken from the
directories, and one with the new project name

EXPECTED RESULT
Don't create DB until the project ID is stable / known: don't create DB at all
until after the popup closes, or else rename the DB when the popup closes to
ensure we don't leave behind (I assume) orphaned empty DBs.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to