I was trying to create comment using Services 3 comment API. But the field I was submitting wasn't retaining the values when it comes to validations. So, I made a small change in drupal_process_form of the form.inc file.

if(!isset($form_state['values'])){
        $form_state['values'] = array();
}
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

SkyBuzz created an issue. See original summary.

SkyBuzz’s picture

The changes in the patch file.

Status: Needs review » Needs work

The last submitted patch, 2: form.inc_.patch, failed testing.