Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import CSV changes all groups to Root in 2.7.7 #10574

Closed
stevem6 opened this issue Apr 9, 2024 · 14 comments · Fixed by #10575
Closed

Import CSV changes all groups to Root in 2.7.7 #10574

stevem6 opened this issue Apr 9, 2024 · 14 comments · Fixed by #10575

Comments

@stevem6
Copy link

stevem6 commented Apr 9, 2024

Overview

Importing a CSV changes every group name to Root in KeePassXC 2.7.7

Steps to Reproduce

  1. Import a CSV
  2. Choose fields including a group name
  3. Save database

Expected Behavior

The group name chosen should show in the left-hand pane

Actual Behavior

Every group name is changed to Root as can be seen when showing All entries in Search

Context

Import CSV works perfectly in version 2.7.6 keeping chosen group names

KeePassXC - Version 2.7.7
Revision: 68e2dd8
Distribution: AppImage

Operating System:/Linux
Desktop Env: Cinnamon
Windowing System: X11

@stevem6 stevem6 added the bug label Apr 9, 2024
@droidmonkey
Copy link
Member

Please share a scrubbed version of the csv file that doesn't work. I cannot replicate this.

@stevem6
Copy link
Author

stevem6 commented Apr 9, 2024

test.csv
Images from 2.7.7
Group is chosen from the Name column
Selection_226
Showing group names are now Root
Selection_227
The same file imported to 2.7.6 shows correct group names
Selection_228

@droidmonkey
Copy link
Member

droidmonkey commented Apr 9, 2024

Why are you using the same column for group and title? I see the problem, but this method of importing CSV will not scale at all beyond a couple entries.

@stevem6
Copy link
Author

stevem6 commented Apr 9, 2024

The CSV file exported from Roboform doesn't have a group field - using the name column for group and title works well in 2.7.6 even for a file with hundreds of entries.

@droidmonkey
Copy link
Member

You want hundreds of groups?

@stevem6
Copy link
Author

stevem6 commented Apr 9, 2024

Not a problem as that's the default in Roboform.

@michaelk83
Copy link

Was there an option or feature request to import into a group? If not, then I suggest importing everything into the Root group of a new database, and then moving or copying the entries into the group or groups you want.

@stevem6
Copy link
Author

stevem6 commented Apr 9, 2024

I may be misunderstanding your suggestion, but 2.7.7 does put everything into the Root group of a new database. It would be a lot of work to then create lots of individual groups and move entries into them. 2.7.6, on the other hand, creates the individual groups automatically.

@michaelk83
Copy link

My suggestion is if you want a smaller number of groups. A separate group for every item isn't very useful IMO. Might as well just leave them all in the root group in that case.

@droidmonkey
Copy link
Member

Dang, simple programming error on my part. Fixed in #10575

@stevem6
Copy link
Author

stevem6 commented Apr 9, 2024

Thanks!

@michaelk83
Copy link

Was there an option or feature request to import into a group?

#1832 (comment) is the closest I could find to importing into an existing group (just noting it for reference).

@droidmonkey
Copy link
Member

#1832 was completed with 2.7.7 import wizard.

@cedric-anamorphik

This comment has been minimized.

pull bot pushed a commit to tigerwill90/keepassxc that referenced this issue Apr 13, 2024
pull bot pushed a commit to shashinma/keepassxc that referenced this issue Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants