Coder Social home page Coder Social logo

Comments (5)

skrzepto avatar skrzepto commented on August 29, 2024

Comment I left on a previous issue but is actually a new issue

So I had several groups in my keepass2 db

General
Internet
Email
Banking

in the general and internet groups I had no entries. So I decided to delete those groups and try it again and viola most of my entries converted and imported into keepassx

So what I assume is happening from your code is that it only takes the first groups entries and ignores the rest Since I see all my Email entries but none of my Banking entries.

from keepass2-to-keepassx.

dvorka avatar dvorka commented on August 29, 2024

Thank you for the detailed description of the problem. I was able to reproduce it and going to fix it in the evening. Thanks again!

from keepass2-to-keepassx.

dvorka avatar dvorka commented on August 29, 2024

Certain XML database exports don't identify parent groups correctly (it's fine for 30% of tests, but broken for the rest):

Running com.mindforger.keepass.Keepass2DatabaseToKeepassXDatabaseTest
Loading Keepass2 XML database export from: /home/dvorka/p/keepassx/github/keepass2-to-keepassx/target/test-classes/com/mindforger/keepass/empty-group.xml
Writing: /tmp/empty-group-2932565058184007170.xml
KeepassDatabase [entries: 3, groups: 8, entries:
  Sample Entry # lZ06OOZ+CUSSTzx6c97GcQ==
  Sample Entry #2 # lZ06OOZ+CUSSTzx6c97GcQ==
  blah # 2H3k/AZvxUy74S6ndSAGkQ==,
groups:
  NewDatabase(lZ06OOZ+CUSSTzx6c97GcQ==) > null
  General(nWNSVZsE20KMS7wjL62T5A==) > lZ06OOZ+CUSSTzx6c97GcQ==
  Windows(Hrksv8oFW0m86WJsKKR1dg==) > null
  Network(y+Pciy7nBUmSSnVFGhFZmA==) > null
  Internet(A8DOSZFjYUK2uO5BsHQhzQ==) > null
  eMail(rztuelxWekWir2IEayhfXg==) > null
  Homebanking(whtPlC+7BE6cGN3rOki+cQ==) > null
  Recycle Bin(2H3k/AZvxUy74S6ndSAGkQ==) > null
]

In the example above, only General (the first) group has parent and others don't. (NewDatabase is root group == database container)

from keepass2-to-keepassx.

dvorka avatar dvorka commented on August 29, 2024

Fixed.

from keepass2-to-keepassx.

dvorka avatar dvorka commented on August 29, 2024

Please give it a try ;)

from keepass2-to-keepassx.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.