[FOLIO-1782] Load staff slips sample data in CI builds Created: 05/Feb/19 Updated: 03/Jun/20 Resolved: 12/Mar/19 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Task | Priority: | P3 |
| Reporter: | Michal Kuklis | Assignee: | Hongwei Ji |
| Resolution: | Done | Votes: | 0 |
| Labels: | ci, platform-backlog | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||
| Issue links: |
|
||||||||||||||||
| Sprint: | Core: Platform - Sprint 59 | ||||||||||||||||
| Story Points: | 2 | ||||||||||||||||
| Development Team: | Core: Platform | ||||||||||||||||
| Description |
|
We need two staff slips to be populated by default by the system: hold:
{
name: 'Hold',
active: true,
template: '<p></p>',
metadata: {
createdDate : 'DATE',
createdByUserId : 'USER_ID',
updatedDate : 'DATE',
updatedByUserId : 'USER_ID'
}
}
and transit:
{
name: 'Transit',
active: true,
template: '<p></p>',
metadata: {
createdDate : 'DATE',
createdByUserId : 'USER_ID',
updatedDate : 'DATE',
updatedByUserId : 'USER_ID'
}
}
We are currently creating them on the fly on the frontend via: staff-slips-storage/staff-slips endpoint the first time somebody visits staff slips settings page. |
| Comments |
| Comment by Wayne Schneider [ 05/Feb/19 ] |
|
Michal Kuklis what backend module is involved? |
| Comment by Michal Kuklis [ 05/Feb/19 ] |
|
Wayne Schneider I believe this is in: mod-circulation-storage |
| Comment by Marc Johnson [ 08/Feb/19 ] |
|
Wayne Schneider Could this be superceded by including the definition of the staff-slips during the work to move the loading of reference records to tenant initialisation in
|
| Comment by Wayne Schneider [ 08/Feb/19 ] |
|
Marc Johnson I believe that is possible, depending on if slips would be considered reference data. |
| Comment by Marc Johnson [ 09/Feb/19 ] |
|
Wayne Schneider Sure. I don’t know if we have guidelines for the distinction. I am making the assumption that these count as reference records because loan rules and policies etc are currently considered that way, and the system seems to expect their presence. If they are instead sample records, then could they go in
|
| Comment by Cate Boerema (Inactive) [ 11/Feb/19 ] |
|
Wayne Schneider and Jakub Skoczen, just wanted to put in a vote to get this addressed. Without these staff slips loaded by default, we see a bug in the service point form. Specifically, you cannot edit the "print by default" setting for transit and hold slips There is a workaround for this (you need to go to Settings > Circulation > Staff slips and the slips are then populated by the UI, but it's not ideal |
| Comment by Hongwei Ji [ 12/Mar/19 ] |
|
This PR-150 is committed on top of the work of
|