Initial Population Of CMP Attributes Throws Constraint Violation

XMLWordPrintable

      This appears to be because the form is generating duplicate entries for each attribute:

          [CmpEnrollmentAttribute] => Array
              (
                  [0] => Array
                      (
                          [cmp_enrollment_configuration_id] => 1
                          [attribute] => names:honorific
                          [type] => official
                      )
       
                  [1] => Array
                      (
                          [cmp_enrollment_configuration_id] => 1
                          [attribute] => names:honorific
                          [type] => official
                          [required] => 0
                          [env_name] =>
                      )
      

            Assignee:
            Benn Oshrin
            Reporter:
            Benn Oshrin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: