http://drupalcode.org/project/physical.git/blob/refs/heads/7.x-1.x:/phys...

    if (isset($items[$delta]['length'])) {
      $value = array(
        'length' => round($items[$delta]['length'], 5),
        'width' => round($items[$delta]['width'], 5),
        'height' => round($items[$delta]['height'], 5),
        'unit' => $items[$delta]['unit'],
      );
    }

When length is removed with hook_physical_dimension_info_alter(&$dimensions), default values lost for edit form

Comments

jackhutton’s picture

I've had the same thing happen. trying to work through all this..