Circulation rules saved if criteria entered without ':' and without policies

Description

Overview:
Steps to Reproduce:

  1. Log into kiwi bugfest as User with privileges to edit circulation rules

  2. Enter a new rule in the form g northwestern-12-weeks + t buo

  3. Save rules

Expected Results:
Syntax error message 'policy missing'
Actual Results:
rules are saved
Additional Information:
Entering g northwestern-12-weeks + t buo :
does produce the syntax error message 'policy missing after :'
URL:
Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3

Checklist

hide

TestRail: Results

Activity

Show:

Alexander Kurash March 7, 2022 at 1:29 PM

Released in Lotus

Cheryl Malmborg February 14, 2022 at 9:12 PM

It looks good to release in Lotus.

Viktor Draban February 14, 2022 at 4:13 PM

I've tested the ticket on snapshot, it works based on "expected results".
As proof I've added screanshot

Stanislau Snapok November 5, 2021 at 6:43 AM

Hello ! I already investigated this problem and it looks like BE issue. If we type ":" without policy we get 422 code from BE with an error message in responce "policy missing after :". Otherwise if we don't type ":" at all, we get status code 204 and no error, so FE shows notification with a succesfull message. Check attachments please.

Cheryl Malmborg November 4, 2021 at 4:16 PM

The Lotus release is fine. This is a very unusual error I just stumbled on.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Vega

Fix versions

Release

Lotus R1 2022

RCA Group

Implementation coding issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 21, 2021 at 8:21 PM
Updated August 19, 2022 at 8:49 AM
Resolved February 14, 2022 at 9:12 PM
TestRail: Cases
TestRail: Runs