-
Notifications
You must be signed in to change notification settings - Fork 72
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
CustomData serialization breaks KeepassXC #76
Comments
Hi Can you please say which version of KeePassJava2 you are using? Also, you are saying that you create a database in KeePassJava2 and save it, before trying to load in KeePassXC? thanks |
I'm using
not sure if this is desirable |
Thanks for the confirmation. The problem is related to CustomData being serialised with an empty item within Meta. CustomData in Group or Entry doesn't have this problem. I have a fix that does very similar to what you have tried, only it removes all empty elements:
which I have pushed to develop and also 2.2.4-SNAPSHOT release. Cheers |
If you can confirm this solves the problem then we can close. |
Yes, it works now - thanks! |
It appears creating a database and saving it breaks KeepassXC which errors with the following error message:
Error while reading the database: Missing custom data key or value
After some troubleshooting, and tracking down the relevant KeepassXC line, the issue seems to be that Jackson serializes the database and includes an empty
<Item>
:The text was updated successfully, but these errors were encountered: