@@ -130,14 +130,14 @@ class ProductRepository implements \Magento\Catalog\Api\ProductRepositoryInterfa
130130
131131 /**
132132 * @deprecated 103.0.2
133- * @see MAGETWO-71174
133+ *
134134 * @var ImageContentInterfaceFactory
135135 */
136136 protected $ contentFactory ;
137137
138138 /**
139139 * @deprecated 103.0.2
140- * @see MAGETWO-71174
140+ *
141141 * @var ImageProcessorInterface
142142 */
143143 protected $ imageProcessor ;
@@ -149,7 +149,7 @@ class ProductRepository implements \Magento\Catalog\Api\ProductRepositoryInterfa
149149
150150 /**
151151 * @deprecated 103.0.2
152- * @see MAGETWO-71174
152+ *
153153 * @var \Magento\Catalog\Model\Product\Gallery\Processor
154154 */
155155 protected $ mediaGalleryProcessor ;
@@ -322,12 +322,6 @@ public function getById($productId, $editMode = false, $storeId = null, $forceRe
322322 $ product ->setData ('store_id ' , $ storeId );
323323 }
324324 $ 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- }
331325 if (!$ product ->getId ()) {
332326 throw new NoSuchEntityException (
333327 __ ("The product that was requested doesn't exist. Verify the product and try again. " )
@@ -742,7 +736,6 @@ private function addExtensionAttributes(Collection $collection) : Collection
742736 * Helper function that adds a FilterGroup to the collection.
743737 *
744738 * @deprecated 102.0.0
745- * @see MAGETWO-71174
746739 * @param \Magento\Framework\Api\Search\FilterGroup $filterGroup
747740 * @param Collection $collection
748741 * @return void
@@ -802,7 +795,6 @@ private function getMediaGalleryProcessor()
802795 * Retrieve collection processor
803796 *
804797 * @deprecated 102.0.0
805- * @see MAGETWO-71174
806798 * @return CollectionProcessorInterface
807799 */
808800 private function getCollectionProcessor ()
0 commit comments