Error Saving Loan Rules where comment starts without space after hash
Description
Steps to repro:
Log into folio-testing
Go to Settings > Circulation and set up as shown in the attached screenshot
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.
Steps to repro:
Log into folio-testing
Go to Settings > Circulation and set up as shown in the attached screenshot
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.