The problem: If you edit a note record, and remove part of the note by using the Delete key (not the Backspace key), hit save, then the edit appears to have worked (the change is even updated in the display), but as soon as you refresh the record, you'll discover that no change has been made.
Following these same steps and editing text in the unit title field, however, works fine. Users can also edit the notes text by using the Backspace key.
Tested in Chrome and Firefox, with Windows OS.
Also tested in Safari on a Mac using fn+delete, and the same problem happens.
i can only assume it would have been reported more, too, but the problem probably goes unnoticed since it's so hard to figure out why the saves aren't taking place.
Upgrading CodeMirror is too risky for us to take on in the limited time remaining
One question on this is whether we still want to use CodeMirror. If it's not, we need to identify the alternative. Could addressing this help with a WYSIWYG editor?
Thinking this will need to be broken up into tasks. Research will need to take place in a separate sprint from actually doing the work. Aiming to start research in a late April sprint.
(This behavior seems to be specific to notes; does not happen on title.)
Hello,
We have also noticed the same behavior when using the delete key - when you use the Delete key in notes fields, rather than the Backspace key, the changes are not saved.
-Ryan
Ryan Edwards
Digital Access and Systems Librarian
Getty Digital
Collection & Content Management Systems (CCMS)
Getty Research Institute
1200 Getty Center Drive, Suite 1100
Los Angeles, CA 90049-1688
reedwards@getty.edu
310.440.7398
I have just tested this on AS 2.7.1 using a Mac.
I confirm that if I select text in a note and hit delete, and save changes then my deletion persists. If I position my cursor ahead of the text I want to delete and use the delete key before saving changes my deletion is lost.
As with this is a critical priority bug relating to core functionality in ArchivesSpace and it appears that the fix is ready for implementation: it would be excellent to have an update on implementation.