updateAttributes function doesn't update the revision number
- Lingua principale
- JavaScript
- Stelle
- 2k
- Fork
- 238
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
This function should take care of updating the _rev property in the instance after updating the document in the DB. 2 updates in a row of the same document fails with the current implementation.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Look for the updateAttributes function in the codebase, likely in a model or adapter layer. Check how it handles the _rev property for databases that use revision numbers (like CouchDB/Cloudant). The issue states two consecutive updates fail, so examine the update flow and where the revision is set after a DB write. Running existing tests for update operations might reveal the failure.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript, mongodb, mysql, nodejs, postgresql, redis, sqlite
- Ambito
- backend, databases
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100