Detect existing Recycle Bin group if it wasn't specified in Meta - #34
Detect existing Recycle Bin group if it wasn't specified in Meta#34aivanovski wants to merge 1 commit into
Conversation
aivanovski
commented
Apr 19, 2022
@jorabin Hi, could you please have a look at this PR? |
jorabin-51d
commented
Apr 19, 2022
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. |
jorabin
commented
May 11, 2023
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(Groupg)method is needed? |
aivanovski
commented
May 11, 2023
Hi, |
jorabin
commented
May 11, 2023
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.