protected function _collectSaveData($newObject) { // when deleting store specific values, value ids should be in place if ($newObject->getStoreId()) { foreach ($this->getAttributesByCode() as $code => $attribute) { if ($attribute->getIsGlobal() == Mana_Core_Model_Attribute_Scope::_STORE && is_null($newObject->getData($code))) { $attribute->getBackend()->setValueId($this->getStoreValueId($newObject, $attribute)); } } } return parent::_collectSaveData($newObject); }