Description of problem: REST API documentation says: dampeningCategory String Category for dampening. ONCE means 'disable definition after firing' So, to create an alert def, that would disable itself after firing, I send 'dampeningCategory'='ONCE' within it's body But, it seems that special category name is not handled corretly by rest api, because when I open up such alert definition in UI, I get exeception + once this alert def fires alert it does not disable itsefl. Version-Release number of selected component (if applicable): JON 3.2.0.ER7 How reproducible: always Steps to Reproduce: 1. create alert definition using rest with dampeningCategory=ONCE 2. open such alert def in UI 3. make such definition to fire alert Actual results: 2 - Global exception is raised: Invalid dampening category - please report this as a bug: ONCE 3 - definition does not get disabled Expected results: such alert can be opened, and when fired, it gets disabled Additional info:
I can not reproduce the issue with the Global Exception (in master), but see that the disabling does not work.
Now I see it. I consider that sort of a issue in the UI, as ONCE is a valid enum value (as well as the never used NO_DUPLICATES).
master b9e35b5 & eab765 release-branch: 0bf59fd0bcd (both above commits rebased into this one)
Moving to ON_QA for testing in latest(CR1) brew build.