Skip to content

[Backport 2.1] Fix minor issues in ui export converter classes#15693

Merged
magento-engcom-team merged 1 commit intomagento:2.1-developfrom
dmytro-ch:fix/2.1-minor-issues-in-ui-export-converters
Jun 5, 2018
Merged

[Backport 2.1] Fix minor issues in ui export converter classes#15693
magento-engcom-team merged 1 commit intomagento:2.1-developfrom
dmytro-ch:fix/2.1-minor-issues-in-ui-export-converters

Conversation

@dmytro-ch
Copy link
Copy Markdown
Contributor

Original PR: #15692

Fix minor issues in \Magento\Ui\Model\Export\ConvertToXml and \Magento\Ui\Model\Export\ConvertToCsv classes.

Description

  1. Fix the issue with the dynamically defined `$filter`` property.
  2. Add missing throws to PHPDocs for methods.
  3. Set the correct property type in PHPDocs for the $directory. (In the constructor, we init $directory property as a result of $filesystem->getDirectoryWrite() method, which creates an instance of Magento\Framework\Filesystem\Directory\Write using the corresponding factory. So, basically, it returns WriteInterface but not DirectoryList.)

Fixed Issues (if relevant)

N/A

Manual testing scenarios

N/A

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@dmytro-ch dmytro-ch added Release Line: 2.1 partners-contribution Pull Request is created by Magento Partner Partner: Atwix Pull Request is created by partner Atwix labels Jun 2, 2018
@dmytro-ch dmytro-ch requested a review from rogyar June 2, 2018 20:57
@magento-engcom-team magento-engcom-team added this to the Release: 2.1.15 milestone Jun 3, 2018
@magento-engcom-team magento-engcom-team merged commit b4171a1 into magento:2.1-develop Jun 5, 2018
@magento-engcom-team
Copy link
Copy Markdown
Contributor

Hi @dmytro-ch. Thank you for your contribution.
Changes from your Pull Request will be available with the upcoming 2.1.15 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Ui Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner Progress: accept Release Line: 2.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants