Add Real Loan Rule Parameters and Values

Description

Purpose: To replace the static loan rule parameters and their values with real data.

Scenarios:

  1. Scenario

    • Given the loan rules editor

    • When entering a new rule

    • Then the loan rule parameters that should display are as follows:

      • Patron group - "g"

      • Material type - "m"

      • Loan type - "t"

      • -Location - "l" (if available - this is currently blocked)-

    • Out of scope for this story:

      • Collection - "c"

  2. Scenario

    • Given the loan rules editor

    • When the patron group parameter is selected

    • Then the options that display for selection should include the patron groups that have been defined in Settings > Users > Patron groups

  3. Scenario

    • Given the loan rules editor

    • When the material type parameter is selected

    • Then the options that display for selection should include the material types that have been defined in Settings > Items > Material types

  4. Scenario

    • Given the loan rules editor

    • When the loan type parameter is selected

    • Then the options that display for selection should include the loan types that have been defined in Settings > Items > Loan types

  5. Scenario

    • Given the loan rules editor

    • When the policy parameter is selected

    • Then the options that display for selection should include the loan policies that have been defined in Settings > Circulation > Loan policies

  6. Scenario

    • Given the loan rules editor

    • When the location parameter is selected

    • Then the options that display for selection should include the locations that have been defined in Settings > Items > Locations (if available, this item is currently blocked by other development)

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Adam Shire February 13, 2018 at 1:47 PM

tested successfully. updating status to closed.

Michal Kuklis October 13, 2017 at 12:51 AM

The policies should now in place. Also the issue with material types, loan types and patron group should be also fixed.

Michal Kuklis October 9, 2017 at 1:03 PM

Sounds good about policies.

could you please explain what do you mean by:

"the Material type, Loan type and Patron Group values only become available for selection when they have been used in at least one record"

Thanks!

Cate Boerema October 7, 2017 at 1:12 PM

Oh, yes, the policies should come from the server. I will add a scenario for that.

Also, I noticed that the Material type, Loan type and Patron Group values only become available for selection when they have been used in at least one record. I think we want to allow loan rules to be created that cover potential future situations, not just those that already exist.

Michal Kuklis September 26, 2017 at 2:29 PM
Edited

This should be now done. There is also a structure called policies:

Should those also come from the server?

Done

Details

Assignee

Reporter

Priority

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created September 25, 2017 at 2:40 PM
Updated February 13, 2018 at 1:47 PM
Resolved February 13, 2018 at 1:47 PM
TestRail: Cases
TestRail: Runs