Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
ERM Sprint 116, ERM Sprint 117, ERM Sprint 118, ERM Sprint 119, ERM Sprint 120, ERM Sprint 121
-
Bienenvolk
-
R3 2021
Description
Purpose/Overview:
For simplicity and consistency new licenses should have a default value of "implicit" for the end date semantics. This should be interpreted as meaning openEnded == false.
This will make it easier to query for licenses that are/are not OpenEnded
Scenario 1:
Given: a new license
When: the user saves the license for the first time and has never checked or unchecked the "open ended" check box in the license creation form
Then: the license will be created with endDateSemantics == implicit
Scenario 2:
Given: a license with endDateSemantics == implicit
When: the user views or edits the license
Then: the Open Ended value will == false
Scenario 3:
Given: a license simple search dashboard widget
When: the user sets a filter of "Open ended?" != Open ended
Then: the widget will display all licenses that have endDateSemantics != open_ended
Dev breakdown
- add function on save() to change unset values to implicit
- cleanup script to change any unset values
- add timer to module descriptor (to implement cleanup)
- initial testing with helloworld()-like stuff
- add integration test to check the cleanup function (documentation: https://wiki.folio.org/display/ERM/ERM+Orientation+Reference)
TestRail: Results
Attachments
Issue Links
- blocks
-
ERM-1775 Regularly remove organizations that do not have any links to Licenses
-
- Closed
-
- defines
-
UXPROD-3102 UX improvements for Licenses R3 2021
-
- Closed
-
- relates to
-
ERM-1653 Licenses simple search widget definition
-
- Closed
-
-
ERM-1849 On adding amendment to a license error "ERROR: in module @folio/licenses, operation PUT on resource 'license' failed, saying: Unexpected token { in JSON"
-
- Closed
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...