Closed aivanovski closed 1 year ago
@jorabin Hi, could you please have a look at this PR?
hi @aivanovski many thanks for your PR - I'm afraid I have had zero time to attend to anything on this project, but hope to be able to do an update at some point in the not too distant future. Plan will first to merge the branch with v4 file format/encryption then we will see where we are.
I thought I had left a comment on this some days ago, but don't see it. Apologies for any duplication.
I'm concerned that any such change might have a negative impact if implemented across the board. Wonder if it is better addressed in user code where it could be tailored to specific known problems, using a combination of
database.findEntries("Recycle Bin")
and
database.getRecycleBin()
or am I misunderstanding the problem? Are you saying that a
database.setRecycleBin(Group g)
method is needed?
Hi,
You understand it absolutely correctly and your solution database.setRecycleBin(Group g)
will definitely work better than my hot-fix. I think it's better to cancel this PR then.
@jorabin
Hi, You understand it absolutely correctly and your solution
database.setRecycleBin(Group g)
will definitely work better than my hot-fix. I think it's better to cancel this PR then. @jorabin
OK, well then I raised #44 as a result. Keen to hear your views and I am closing this now, assuming we don't need to proceed with it.
Some KeePass clients may create "Recycle Bin" but don't specify it in database metadata. In order to not create an excessive "Recycle Bin" group, it can be detected by name. If a group with the name "Recycle Bin" wasn't found, then create a new one.