After upgrading to New York, Data Policies do not work as in previous releases


Description

The data policy engine complains about fields should be read-only, invalid insert

 

STEPS TO REPRODUCE:

  1. create a data policy on the table [incident], no condition
  2. create the data policy rule for field "description" set to read-only.
  3. open new form on incident, set the description field with the follow script in the console
  4. g_form.setValues("description","Some Text");
  5. submit the form

    We get an invalid insert, where before it would work

 

Release or Environment

New York and above

Cause