Skip to content

Conversation

@MNarath1
Copy link
Contributor

@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
@MNarath1 MNarath1 changed the title Fix Keeshare Entries with Reference Attributes not updating upon change of the Attribute in the Original Entry Fix Keeshare Entries with Reference Attributes not updating May 28, 2025
@droidmonkey droidmonkey added this to the v2.7.11 milestone Nov 2, 2025
@droidmonkey droidmonkey merged commit a709f14 into keepassxreboot:develop Nov 2, 2025
11 checks passed
droidmonkey pushed a commit that referenced this pull request Nov 2, 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.
@droidmonkey droidmonkey added the pr: backported Pull request backported to previous release label Nov 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: KeeShare pr: backported Pull request backported to previous release

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

2 participants