Labels
No labels
bug
documentation
enhancement
performance
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo-dav#43
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Core #326 (
SyncLinkslots) changes whatSyncLink.for_recordcan return. A link may now be unpaired:unbindkeeps the row and setsunpaired_at, and the newlink.pairedproperty says whether it still pairs the record with its twin.The DAV plugin treats any link that
for_recordreturns as paired. Nothing callsunbindyet, so this is harmless today. Core #327 (a page to pair and unpair records with their remote items) will call it, and from then on the plugin would keep writing to a twin the person unpaired.What to do
for_record,of_model), skip or re-pair links whosepairedis false.slotandcollectionwhere a record has more than one twin, or an item has a collection. Key a twin on (collection, uid), as the wiki's Writing a plugin → Syncs now says.AlreadyPairedfrombind, which replaces the database's integrity error.Needed before core #327 ships.