Fast Item Add no longer opens record after copy is created
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned | ||
2.5 |
Fix Released
|
Undecided
|
Unassigned | ||
2.6 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Evergreen 2.5.2
OpenSRF 2.2.X
PostgreSQL 9.1.11
Ubuntu 12.04
In Evergreen 2.2.2, when using the Fast Item Add function of the MARC Editor (Z39.50 import, Cataloging Menu -> Create new MARC Record, etc.) the new record is displayed in the opac after "Modify/Create Copies" is clicked in the item editor.
In Evergreen 2.5.2, the record is not loaded after dismissing the item editor. There's no indication that there was a problem or not. If Fast Item Add is NOT used, the record is loaded after the new record is saved, or imported.
Reading the relevant bits of the code it's obvious that the intention is still to open the record in the opac, but somewhere along the line that's not happening. There aren't any errors in the JS Console that appear to be related, and the logs show no problems.
When running the staff client with the -console option, here are 2 examples of importing a record with Z39.50, Fast Item Add selected both times:
2.2:
Loading OpenILS/
Loading constants.js
Loading OpenILS/
Loading OpenILS/
Loading OpenILS/
Loading OpenILS/
Loading OpenILS/
running event rdetail:
Loading OpenILS/
running event rdetail:MFHDDrawn
2.5:
Loading OpenILS/
Loading constants.js
Loading OpenILS/
Loading OpenILS/
Loading OpenILS/
tags: | added: pullrequest |
Changed in evergreen: | |
milestone: | none → 2.next |
tags: | added: signedoff |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Confirmed in master.
If using the unified volume/copy editor, this is not an issue. When you click the "Create record" button, you can see the unified volume/copy editor replacing the New MARC record form in the tab - See http:// www.screencast. com/t/sskBVF96s hf . When the copy record is subsequently saved, the record simply refreshes in that same tab.
However, when using the separate copy editor, clicking the "Create record" button appears to open the copy editor in a separate window. See http:// www.screencast. com/t/keSjbOeHT r4. Saving the copy record then returns the user to the previous window where the New MARC record form still sites.
I wonder if the difference in location for where the copy editor loads is the reason why we see this problem only with the separate copy editor.