Verify quickMARC edited record is saved correctly
Description
Environment
Potential Workaround
Attachments
- 19 May 2020, 06:15 PM
- 19 May 2020, 06:15 PM
blocks
defines
has to be done after
relates to
Checklist
hideTestRail: Results
Activity
Stephanie BuckMay 19, 2020 at 8:45 PM
Thank you both, @Mikita Siadykh and @Viachaslau Khandramai. I'll close this story as done.
Viachaslau KhandramaiMay 19, 2020 at 8:25 PM
@Mikita Siadykh we don't control QuickMarcJson fields order and haven't any implemented mechanism to save fields in appropriate order during QuickMarcJson <-> ParsedRecordDto convertation. So this is definitely bug. @Stephanie Buck I'll create story for this.
Mikita SiadykhMay 19, 2020 at 6:16 PM
@Stephanie Buck
as for
#1 it's expected as you changed nothing - you just restored initial form state (no field values and position change)
#5 I suspect it's not blank, fields can have empty space value and in this case ` 2` indicator is sent and the first symbol will be saved - it's ok with my tests
#4 can be the same with #5 - it's ok with my tests
#2,3 @Viachaslau Khandramai could you please chime in? - mostly ok, but I could get save when field is moved to the top, but in request it's sent in correct place
Stephani, additionally save action is an async operation in change manager, it means that changes can appear a bit later
I'm not sure about `View source` action, it works with another endpoint and process response differently, but editor has all changes and sometimes with another order
Stephanie BuckMay 19, 2020 at 5:50 PM
Hi @Mikita Siadykh. A few issues have come up.
1. When a user copies the text in a 245, deletes the 245 field using the trash icon, adds a field back in, enters 245 and then copies the text back in, the Save button is grayed out unless the user hits the space bar. Then the Save button appears and works.
2. When fields are added in quickMARC, after saving the record and reopening the record in quickMARC or viewing the source record, the field appears at the top of the record, not where it was entered/added in quickMARC.
3. Related, I can move the field to the appropriate spot, save the record, and it will still appear at the top of the record. Fields that are added do not stay where they are place in quickMARC. They also move to the top of the record when viewing the source record or reopening quickMARC.
4. I tried changing byte 5 (Ctrl) in two different records. I can make the change and save and get a successful save message. When I reopen in quickMARC or view source, the change isn't there.
5. If an indicator is blank and I change it, I get a successful save message, but it doesn't save when I check the record in quickMARC or view source, the change isn't there.
Mikita SiadykhMay 19, 2020 at 10:39 AM
@Stephanie Buck
tested on snapshot all actions, please review
Purpose: To verify record changes are saved in SRS after all integrations are done
Scenario
Given the edited (and saved) record
When I open quickMARC editor for this record
Then editor should display updated record
Note: no dev activity is required here