Skip to content

Conversation

georgebabarus
Copy link
Contributor

Description (*)

Method \Magento\Framework\App\DeploymentConfig\Reader::load is not consistent with constructor.
The constructor is initializing the files member, but it is not used when loading configuration.

Manual testing scenarios (*)

The configuration should work the same after deploying this changes.

@m2-assistant
Copy link

m2-assistant bot commented Sep 22, 2019

Hi @georgebabarus. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento give me test instance - deploy test instance based on PR changes
  • @magento give me 2.3-develop instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Guide documentation.

@georgebabarus georgebabarus changed the title refactor deployment config reader, remove inconsistent load method to… refactor deployment config reader, change inconsistent load method to… Sep 22, 2019
@georgebabarus georgebabarus marked this pull request as ready for review September 23, 2019 08:01
@orlangur orlangur self-assigned this Sep 23, 2019
@VladimirZaets VladimirZaets added the Auto-Tests: Covered All changes in Pull Request is covered by auto-tests label Sep 26, 2019
@VladimirZaets VladimirZaets self-assigned this Sep 26, 2019
$configFile = $path . '/' . $this->configFilePool->getPath($fileKey);
$configFiles = $this->getFiles();
foreach ($configFiles as $file) {
$configFile = $path . DIRECTORY_SEPARATOR . $file;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use '/' instead as it was before.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@ghost ghost assigned sidolov Oct 4, 2019
@magento-engcom-team
Copy link
Contributor

Hi @sidolov, thank you for the review.
ENGCOM-6010 has been created to process this Pull Request

@magento-engcom-team
Copy link
Contributor

@georgebabarus thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository.

@engcom-Delta
Copy link
Contributor

✔️ QA passed

@engcom-Foxtrot
Copy link
Contributor

@magento run all tests

@m2-assistant
Copy link

m2-assistant bot commented Oct 15, 2019

Hi @georgebabarus, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@magento-engcom-team magento-engcom-team added this to the Release: 2.3.4 milestone Oct 15, 2019
@georgebabarus georgebabarus deleted the deployment-config-reader branch September 27, 2022 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants