YotpoLtd / magento2-module-yotpo-reviews

Open Software License 3.0
23 stars 38 forks source link

yotpo/magento2-module-yotpo-reviews composer replace statement prevents upgrade to version 3.1.0 #231

Open bm-eventstable opened 4 years ago

bm-eventstable commented 4 years ago

We had updated to the latest 3.1.0 release shortly after it became available while running magento 2.3.2. During the magento 2.3.4 composer upgrade, The Yotpo module was replaced with version 3.0.1 which I believe is bundled with magento 2.3.4. This caused the code version (3.0.1) to appear to be outdated when the site attempts to load as the database is reporting version 3.1.0. My site composer.json version requires "yotpo/module-yotpo": "^3.1" but the replace statement in the version 3.0.1 module composer.json file appears to be overriding my 3.1.0 requirement. How can I get back to using version 3.1.0?

yotpaul commented 4 years ago

Hey @bm-eventstable what you can try and do is replace the code under the vendor directory with the version that you need and remove the Yotpo_Yotpo row from the modules SQL table. It is also advisable to use the CBE version of the module, so we suggest to do that once Magento 2.3.5 is released as any changes you make now will be overridden when you update composer again.

Let me know if this helps.