Skip to content

Commit

Permalink
10814: #10814: Attribute repository resets sourceModel for new attrib…
Browse files Browse the repository at this point in the history
…utes.

Disable ability to set custom sourceModel, backendModel and backendType during update with Attribute repository, as they depends on frontend input for user defined attributes.
  • Loading branch information
nmalevanec committed Dec 13, 2017
1 parent 3747258 commit d29548f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ protected function validateFrontendInput($frontendInput)
}

/**
* Process attribute data depends on attribute frontend input type.
* Process attribute data based on attribute frontend input type.
*
* @param \Magento\Catalog\Api\Data\ProductAttributeInterface $attribute
* @return void
Expand Down

0 comments on commit d29548f

Please sign in to comment.