Error Saving Loan Rules where comment starts without space after hash

Description

Steps to repro:

  1. Log into folio-testing

  2. Go to Settings > Circulation and set up as shown in the attached screenshot

  3. Save

Expected: Should save without error. I think? Honestly, I don't know how you are supposed to specify the loan policy. Maybe you are supposed to use a hashtag? I tried that, as well, and got the same error.

Actual: Get error showing in screenshot and can't save. Error is: Expected f or m or t or fallback-policy or : or + or # but found "policy:2b64f681-ed9c-4ef5-b579-0cef7a021564"#

Additional info: After setting up according to the first screenshot then changing to the setup in the second, i navigated away without clicking Save. The system let me (I should have gotten an unsaved changes modal) and then it threw a number of errors shown in screenshot 3.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

5

Checklist

hide

TestRail: Results

Activity

Show:

Adam Shire February 7, 2018 at 2:51 PM

Looks Good
tested successfully and setting to closed.

Julian Ladisch February 7, 2018 at 9:44 AM

This issue is fixed since mod-circulation-7.1.0-SNAPSHOT.93 which is now available on the FOLIO installation intended for frontend testers http://folio-snapshot-stable.aws.indexdata.com/

Julian Ladisch February 6, 2018 at 5:35 PM

In 10 hours.

Adam Shire February 6, 2018 at 5:28 PM

Didn't realize this was getting updated as I was testing. When can I expect the changes to be reflected on folio-testing?

Adam Shire February 6, 2018 at 5:22 PM

I'm still seeing the same issue. it looks like there has to be a space between the # and the description or you get this error.

Done

Details

Assignee

Reporter

Tester Assignee

Labels

Priority

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created January 29, 2018 at 11:48 AM
Updated February 8, 2018 at 1:02 PM
Resolved February 7, 2018 at 2:55 PM
TestRail: Cases
TestRail: Runs