The sensor settings form is currently broken when editing sensor assets. The following messages are displayed:

Notice: Undefined index: sensor_settings in farm_sensor_form_alter() (line 372 of /var/www/html/profiles/farm/modules/farm/farm_sensor/farm_sensor.module).
Warning: array_merge(): Argument #1 is not an array in farm_sensor_form_alter() (line 372 of /var/www/html/profiles/farm/modules/farm/farm_sensor/farm_sensor.module).
CommentFileSizeAuthor
#2 farm_sensor_settings_form-2880498-1.patch586 bytesm.stenta
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

m.stenta created an issue. See original summary.

m.stenta’s picture

Status: Active » Needs review
FileSize
586 bytes

Attached is a patch that fixes this.

I will commit this once #2876992: Merge farmOS repositories into drupal.org/project/farm is done.

m.stenta’s picture

Project: Farm Sensor » farmOS
Component: Code » Farm Sensors
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.