mirasvit / module-blog

Magento 2 Blog Extension
https://mirasvit.com/magento-2-extensions/blog.html
Open Software License 3.0
68 stars 48 forks source link

On Click button Add related product issue magento 2.3.3 #163

Open hhernandez-coder opened 4 years ago

hhernandez-coder commented 4 years ago

After open related product window show error message in post form "A technical problem with the server created an error. Try again to continue what you were doing. If the problem persists, try again later.". The error message in console is "The "componentType" configuration parameter is required for the "product_columns" component." and stop the process showing.

kartikmaniyar commented 4 years ago

@hhernandez-coder Did you get any reply from Mirasvit? OR Did you find solution for this? I am facing the same issue.

kartikmaniyar commented 4 years ago

@hhernandez-coder It looks like Mirasvit_Blog extension conflicts with Magento MSI functionality. I have resolved the issue now.

TheRealHunzik commented 4 years ago

@kartikmaniyar Hello, Can you please guide me how you have resolved this issue I am also struck in this conflict with one of my extension

kartikmaniyar commented 4 years ago

@TheRealHunzik It can be resolved by applying below given patch:

--- a/vendor/mirasvit/module-blog/Ui/Post/Form/ProductDataProvider.php  2020-01-02 11:18:11.672993635 +0000
+++ b/vendor/mirasvit/module-blog/Ui/Post/Form/ProductDataProvider.php  2020-01-02 11:27:26.916990551 +0000
@@ -4,7 +4,7 @@

 use Magento\Catalog\Model\ResourceModel\Product\Collection;

-class ProductDataProvider extends \Magento\Catalog\Ui\DataProvider\Product\ProductDataProvider
+class ProductDataProvider extends \Magento\Catalog\Ui\DataProvider\Product\Related\RelatedDataProvider
 {
     public function getCollection()
     {