Closed Bug 1361241 Opened 7 years ago Closed 7 years ago

Implement "Update" operation for Sync engine.

Categories

(Toolkit :: Form Manager, enhancement, P1)

x86
macOS
enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: selee, Unassigned)

References

Details

(Whiteboard: [form autofill])

After having a Sync + FormAutofill Work Week, "Update" operations should be implemented for Sync Engine to finish data synchronization. "Update" function is used for replacing one record with another one. We should consider the following cases:
* Higher schema version replace lower schema version
  - just replace it without any field operations. Use higher schema version for the new record.
* Lower schema version replace higher schema version
  - Copy the lower schema version field content to the higher one. Use lower schema version.

NOTE - Two type fields for the schema difference:
  Brand new field, e.g. #Social-ID
  Related to the existing fields, e.g. tel v.s. tel-national

NOTE - Ignore the higher schema version fields in the lower version schema object.
Blocks: 998077
No longer blocks: fx-form-autofill
Whiteboard: [form autofill:M3] → [form autofill:M4]
Bug 1363995 is going to give us everything we need here, so I don't think we need this.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Whiteboard: [form autofill:M4] → [form autofill]
You need to log in before you can comment on or make changes to this bug.