ACS "FILE_CREATED" Trigger - Error when trying to erase the nodeType constraint field

Description

Summary
When we try to erase an existing value for the nodeType Field (of the ACS “FILE_CREATED” trigger), it raises an error. Plus, after erasing the value, if you come back to this config page you’ll see that the nodeType is not blank but valued with the old value (please see the attachment). 

Steps to reproduce

1. Create a content trigger with the “FILE_CREATED” Event source

2. Specify a value for the “nodeType” input value & Save the trigger.

3. Remove the value set previously. An error “cannot read property value of ‘null’” is now raised.

4. Save the trigger again and then refresh the page. You’ll see that the previous value is now again selected for the “nodeType” input value as if the field was mandatory.

Expected behaviour
Erase the “nodeType” value shouldn’t raise an error. Same if you refresh the page after removing the value, “nodeType” value should be set to a blank value and not to the old value.

Current behaviour
When you remove an existing value for the nodeType Field, an error is raised. Plus, after deleting the value, if you refresh the page you’ll see that the nodeType is not blank but set to the old value. 

Environment

APA M10

Testcase ID

None
Done

Assignee

Ruben Barroso

Reporter

Massis Buyukkalender

Labels

None

Premier Customer

None

Security Issue

None

Target Platform

None

Code Branch

None

Build Location

None

Regression Since

None

Work Funnel End

None

Patch Attached

None

Dependent Version/s

None

Cloud or Enterprise

None

Prioritization Score

None

Delivery Team

Team Ixxus

Bug Priority

Category 2

Fix versions

Affects versions