Skip to content

Fix Keeshare Entries with Reference Attributes not updating upon change of the Attribute in the Original Entry #11809

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

MNarath1
Copy link

@MNarath1 MNarath1 commented Mar 3, 2025

A Entry that gets shared containing a reference Attribute would not write a history entry upon resolving said Attribute resulting in the import into the target database not beeing triggered despite the changes beeing written to the keeshare db.
Fixes #10356
Fixes #7282
I will put this as a nonbreaking change since this should not influence any keeshares made without a reference Attribute in an entry.

Screenshots

Original Entry
image
Target Db Entry
image

Testing strategy

Test Performed on both windows and linux

  1. Created 2 DB 1 for exporting a keeshare and 1 for importing a keeshare
  2. Created 1 entry at the root of the first db and clone it with references and put the clone into its own folder that then gets exported as a keeshare db.
  3. import said keeshare into the second db
  4. change the Password attribute of the first entry created in the root folder of Database 1
  5. check in Database 2 if the changes get reflected

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

MNarath1 added 2 commits March 3, 2025 14:51
-- A Entry that gets shared containing a reference Attribute would not write a history entry upon resolving said Attribute resulting in the import into the target database not beeing triggered despite the changes beeing written to the keeshare db.
--beginUpdate() and endUpdate() already contain setUpdateTimeinfo so having it in the resolveReferenceAttributes() function makes it redundant and could potentially lead to issues.
@MNarath1 MNarath1 changed the title Fix Keeshare Entries with Refernce Attributes not updating upon change of the Attribute in the Original Entry Fix Keeshare Entries with Reference Attributes not updating upon change of the Attribute in the Original Entry Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keeshare does not synchronize referenced fields of clones KeeShare writing caused by references
1 participant