Angular Holdings Maintenance does not successfully retrieve AngularJS item templates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Critical
|
Unassigned |
Bug Description
The new Angular Holdings Maintenance / Item Attributes Editor does not correctly fetch item templates that were created in the AngularJS volume copy editor.
In particular, what it tries to do is:
- fetch cat.copy.templates from local storage
- save the templates as a new server-side user setting, also keyed as cat.copy.templates
However, this fails because "cat.copy.
It should be noted that the AngularJS editor does this:
- upon opening the interface, checks to see if local copy templates have be downloaded
- if not, fetches them, checking the webstaff.
- If webstaff.
- if staff_client.
Consequently, there are some possibilities to consider:
- If no cat.copy.templates user settings are present, but there are webstaff.
- Have Angular check both keys from user settings, then handle the conversion, explicitly ignoring anything in local storage keyed with cat.copy.templates.
- Consider bringing the XUL item template conversion routine over into Angular; it's not beyond the realm of possibility that somebody might jump from the XUL volume copy editor to the Angular one.
Evergreen 3.8.0
summary: |
- Angular Holdings Maintenance does not successfully retrieve item - templates + Angular Holdings Maintenance does not successfully retrieve AngularJS + item templates |
Changed in evergreen: | |
status: | New → Confirmed |
Changed in evergreen: | |
importance: | Undecided → High |
Changed in evergreen: | |
assignee: | Bill Erickson (berick) → nobody |
tags: | added: pullrequest |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
During testing on PINES servers, Holdings editor is not loading from Holdings view. Console message, if this helps is:
main.8224bc24f2 6fd2140d2a. js:1 ERROR Error: Uncaught (in promise): No user or workstation setting type exists for: "cat.copy. templates" . 9b26e9b6c6d2049 cc2b1.js: 1) 9b26e9b6c6d2049 cc2b1.js: 1) 9b26e9b6c6d2049 cc2b1.js: 1 9b26e9b6c6d2049 cc2b1.js: 1) 26fd2140d2a. js:1) 9b26e9b6c6d2049 cc2b1.js: 1) 9b26e9b6c6d2049 cc2b1.js: 1) 9b26e9b6c6d2049 cc2b1.js: 1) 9b26e9b6c6d2049 cc2b1.js: 1) 9b26e9b6c6d2049 cc2b1.js: 1)
Create a ws/user setting type or use setLocalItem() to store the value locally.
at T (polyfills.
at T (polyfills.
at polyfills.
at l.invokeTask (polyfills.
at Object.onInvokeTask (main.8224bc24f
at l.invokeTask (polyfills.
at i.runTask (polyfills.
at m (polyfills.
at u.invokeTask [as invoke] (polyfills.
at p (polyfills.