[COMPASS-4345] Compass does a replace instead of an update when documents are edited. Created: 08/Jul/20 Updated: 29/Oct/23 Resolved: 28/Sep/20 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.24.1 |
| Type: | Story | Priority: | Major - P3 |
| Reporter: | Massimiliano Marcon | Assignee: | Rhys Howell |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Story Points: | 3 | ||||||||||||||||
| Documentation Changes: | Needed | ||||||||||||||||
| Documentation Changes Summary: | This ticket updates the functionality of document editing. Instead of replacing a document, and possibly losing changes which occurred in the background, this change makes it so that the documents are now updated. In cases where the fields being changed do not exist in the form which they were originally shown to a user, we show a message: `Document was modified in the background or it longer exists. Do you wish to continue and possibly overwrite new changes?` If the users clicks 'update' the document is replaced, if the user clicks 'cancel', the document is returned to its original unedited state. With the JSON editor view, documents are still fully replaced. The table view uses the new update functionality. |
||||||||||||||||
| Sprint: | Iteration Icaco, Iteration Jackfruit, Iteration Kiwi, Iteration Lime, Iteration Maracuja | ||||||||||||||||
| Description |
|
Feedback from drew.dipalma on this:
Open questions
|
| Comments |
| Comment by Rhys Howell [ 28/Sep/20 ] |
|
Compass merge commit: https://github.com/mongodb-js/compass/commit/629d9edb4c9700af458dd7039a452f4a1ed017d2 |
| Comment by Githook User [ 28/Sep/20 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: |
| Comment by Githook User [ 03/Aug/20 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: |