Skip to content

Replaced deprecated methods. #17035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jul 29, 2018
Merged

Replaced deprecated methods. #17035

merged 12 commits into from
Jul 29, 2018

Conversation

tiagosampaio
Copy link
Member

Replaced deprecated methods.

Description

Replaced deprecated methods below:

  • addSuccess() by addSuccessMessage()
  • addException() by addExceptionMessage()
  • addError() by addErrorMessage()

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)

@magento-engcom-team
Copy link
Contributor

Hi @tiagosampaio. 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-engcom-team give me test instance - deploy test instance based on PR changes
  • @magento-engcom-team give me {$VERSION} instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Assistant documentation

@ihor-sviziev ihor-sviziev self-assigned this Jul 23, 2018
@ihor-sviziev
Copy link
Contributor

@magento-engcom-team combine 17036 17039 17048 17058

@magento-engcom-team
Copy link
Contributor

Hi @ihor-sviziev. Thank you for your request. I'm working on combining the pull requests for you

@magento-engcom-team
Copy link
Contributor

@tiagosampaio all pull requests have been successfully combined together:

Copy link
Contributor

@ihor-sviziev ihor-sviziev left a comment

Choose a reason for hiding this comment

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

Hi,

I merged 5 PRs into single one in order to process them faster.

I see two builds on PRs were failing. Could you review the builds and adjust your code?
Links to failed builds:

@tiagosampaio
Copy link
Member Author

Hi @ihor-sviziev,

Changes were applied.

Thanks.

@ihor-sviziev ihor-sviziev self-requested a review July 24, 2018 17:55
Copy link
Contributor

@ihor-sviziev ihor-sviziev left a comment

Choose a reason for hiding this comment

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

Hi,
Integration tests are failing. Could you fix your code or adjust tests if needed?

@ihor-sviziev
Copy link
Contributor

@magento-engcom-team give me test instance

@magento-engcom-team
Copy link
Contributor

Hi @ihor-sviziev. Thank you for your request. I'm working on Magento instance for you

@magento-engcom-team
Copy link
Contributor

Hi @ihor-sviziev, here is your new Magento instance.
Admin access: https://pr-17035.engcom.dev.magento.com/admin
Login: admin Password: 123123q

@ihor-sviziev
Copy link
Contributor

ihor-sviziev commented Jul 26, 2018

I checked following test cases manually:

  1. Mass action "refresh" for not existing cache type 👍
  2. Mass action "disable" for not existing cache type 👍
  3. Mass action "enable" for not existing cache type 👍
    image

Looks like on UI everything is good, need just update integration tests assert.
@tiagosampaio could you do that?


Edit: Never mind, I'll fix it myself

Fix integration test
@magento-engcom-team
Copy link
Contributor

Hi @ihor-sviziev, thank you for the review.
ENGCOM-2553 has been created to process this Pull Request

@magento-engcom-team
Copy link
Contributor

Hi @tiagosampaio. Thank you for your contribution.
We will aim to release these changes as part of 2.2.6.
Please check the release notes for final confirmation.

Please, consider to port this solution to 2.3 release line.
You may use Porting tool to port commits automatically.

@tiagosampaio tiagosampaio deleted the 2.2-develop-004 branch August 7, 2018 12:57
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.

3 participants