Help save net neutrality! Learn more.
Close

#1815 CSV Import - bug

KeePass
closed
nobody
None
5
2014-01-15
2014-01-14
No

Two Generic CSV Import bugs I found:
1) When importing a group like "General/abc" where "General" already exists, a duplicate group "General" is created. Same happens when importing "XXX/abc" and "XXX/xyz" - both 'abc' and 'xyz' should be under "XXX"; instead "XXX" is created twice. Same happens when importing into a single-level group, e.g. if "AAA" exists, importing into "AAA" creates a duplicate "AAA" group.
Workaround: manual cleanup shifting the entries/folders; then deleting the duplicate folder; then emptying the Recycle Bin

Discussion

  • Paul

    Paul - 2014-01-14

    I have not seen this issue in my testing. Please provide some sample files that exhibit the problem.

    cheers, Paul

     
  • Andrew Bauer

    Andrew Bauer - 2014-01-14

    Correction - One Generic CSV Import bug.
    Each group level is a separate import file!

     
  • Andrew Bauer

    Andrew Bauer - 2014-01-14

    Here are two test files. I inserted Group(/) as the first column and used '#' as the line terminator. The snapshot shows the result: three 'General' folders (my initial folder with subfolders + two more 'General' folders created by the import). The desired result is to have ONE and TWO as subfolders of the original 'General' group.

     
  • Paul

    Paul - 2014-01-15

    I tested your files and can reproduce the group duplication. You don't need to use two files, just import one file twice. I have tried removing the multi line notes and using CR/LF as the delimiter but get the same result. Strangely when I was testing I used groups named 1, 2, 3 and 4 and did not have the issue until I use # as the record delimiter.

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2014-01-15
    • status: open --> closed
     
  • Dominik Reichl

    Dominik Reichl - 2014-01-15

    The current behavior is intended.

    I've now added an option to merge the imported groups with groups already existing in the database (on the 'Preview' tab), which is the behavior that you wanted. The option is disabled by default, i.e. the current behavior (not merging imported groups with existing ones) will continue to be the default.

    Here's the latest development snapshot for testing:
    http://keepass.info/filepool/KeePass_140115b.zip

    Best regards,
    Dominik

     

Log in to post a comment.