flancer32/mage2_fix_pr9621

Standalone fix for PR-9621

Installs: 8 900

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 4

Forks: 1

Open Issues: 0

Type:magento2-module

0.1.0 2017-05-13 12:07 UTC

This package is auto-updated.

Last update: 2024-11-06 09:26:53 UTC


README

Standalone fix for PR-9621 to validate proposed solution.

Related issues: #7968, #8018.

  • v. 2.1.7 still contains this error (use v. 0.1.0 for Magento 2.1.7).
  • v. 2.1.8: fixed.

Install

$ cd ${DIR_MAGE_ROOT}
$ composer require flancer32/mage2_fix_pr9621
$ bin/magento module:enable Flancer32_FixPr9621
$ bin/magento setup:upgrade
$ bin/magento setup:static-content:deploy
$ bin/magento cache:clean

Uninstall

You need an authentication keys for https://repo.magento.com/ to uninstall any Magento 2 module. Go to your Magento Connect account, section (My Account / Connect / Developer / Secure Keys) and generate pair of keys to connect to Magento 2 repository. Then place composer authentication file auth.json besides your composer.json as described here and put your authentication keys for https://repo.magento.com/ into the authentication file:

{
  "http-basic": {
    "repo.magento.com": {
      "username": "...",
      "password": "..."
    }
  }
}

Then run these commands to completely uninstall Flancer32_FixPr9621 module:

$ cd ${DIR_MAGE_ROOT}   
$ bin/magento module:uninstall Flancer32_FixPr9621
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
$ bin/magento setup:static-content:deploy
$ bin/magento cache:clean

Be patient, uninstall process (bin/magento module:uninstall ...) takes about 2-4 minutes. Remove auth.json file at the end:

$ rm ./auth.json