@@ -130,14 +130,14 @@ class ProductRepository implements \Magento\Catalog\Api\ProductRepositoryInterfa
130
130
131
131
/**
132
132
* @deprecated 103.0.2
133
- * @see MAGETWO-71174
133
+ *
134
134
* @var ImageContentInterfaceFactory
135
135
*/
136
136
protected $ contentFactory ;
137
137
138
138
/**
139
139
* @deprecated 103.0.2
140
- * @see MAGETWO-71174
140
+ *
141
141
* @var ImageProcessorInterface
142
142
*/
143
143
protected $ imageProcessor ;
@@ -149,7 +149,7 @@ class ProductRepository implements \Magento\Catalog\Api\ProductRepositoryInterfa
149
149
150
150
/**
151
151
* @deprecated 103.0.2
152
- * @see MAGETWO-71174
152
+ *
153
153
* @var \Magento\Catalog\Model\Product\Gallery\Processor
154
154
*/
155
155
protected $ mediaGalleryProcessor ;
@@ -322,12 +322,6 @@ public function getById($productId, $editMode = false, $storeId = null, $forceRe
322
322
$ product ->setData ('store_id ' , $ storeId );
323
323
}
324
324
$ product ->load ($ productId );
325
- foreach ($ product ->getAttributes () as $ attributeKey => $ attributeValue ) {
326
- $ defaultValue = $ attributeValue ->getDefaultValue ();
327
- if (!$ product ->hasData ($ attributeKey ) && $ defaultValue ) {
328
- $ product ->setData ($ attributeKey , $ defaultValue );
329
- }
330
- }
331
325
if (!$ product ->getId ()) {
332
326
throw new NoSuchEntityException (
333
327
__ ("The product that was requested doesn't exist. Verify the product and try again. " )
@@ -742,7 +736,6 @@ private function addExtensionAttributes(Collection $collection) : Collection
742
736
* Helper function that adds a FilterGroup to the collection.
743
737
*
744
738
* @deprecated 102.0.0
745
- * @see MAGETWO-71174
746
739
* @param \Magento\Framework\Api\Search\FilterGroup $filterGroup
747
740
* @param Collection $collection
748
741
* @return void
@@ -802,7 +795,6 @@ private function getMediaGalleryProcessor()
802
795
* Retrieve collection processor
803
796
*
804
797
* @deprecated 102.0.0
805
- * @see MAGETWO-71174
806
798
* @return CollectionProcessorInterface
807
799
*/
808
800
private function getCollectionProcessor ()
0 commit comments