magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Rename wrongly named variable

Open RikvdHeijden opened this issue 3 years ago • 13 comments

While the variable was named totalRefund it contains the amount of money that can still be refunded. This confused me while debugging an unrelated issue for a customer. I felt renaming the attribute might prevent future developers from doing the same.

Resolved issues:

  1. [x] resolves magento/magento2#38609: Rename wrongly named variable

RikvdHeijden avatar Sep 27 '22 13:09 RikvdHeijden

Hi @RikvdHeijden. Thank you for your contribution Here are 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.4-develop instance - deploy vanilla Magento instance

:exclamation: Automated tests can be triggered manually with an appropriate comment:

  • @magento run all tests - run or re-run all required tests against the PR changes
  • @magento run <test-build(s)> - run or re-run specific test build(s) For example: @magento run Unit Tests

<test-build(s)> is a comma-separated list of build names. Allowed build names are:

  1. Database Compare
  2. Functional Tests CE
  3. Functional Tests EE,
  4. Functional Tests B2B
  5. Integration Tests
  6. Magento Health Index
  7. Sample Data Tests CE
  8. Sample Data Tests EE
  9. Sample Data Tests B2B
  10. Static Tests
  11. Unit Tests
  12. WebAPI Tests
  13. Semantic Version Checker

You can find more information about the builds here

:information_source: Run only required test builds during development. Run all test builds before sending your pull request for review.

For more details, review the Magento Contributor Guide documentation.

:warning: According to the Magento Contribution requirements, all Pull Requests must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

m2-assistant[bot] avatar Sep 27 '22 13:09 m2-assistant[bot]

@magento run all tests

bgorski avatar Oct 01 '22 11:10 bgorski

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please re-request them if they don't show in a reasonable amount of time.

@magento run Static Tests, Integration Tests, Functional Tests EE, Functional Tests B2B

bgorski avatar May 26 '23 19:05 bgorski

The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues.

@magento create issue

engcom-Delta avatar Apr 10 '24 14:04 engcom-Delta

Hello @RikvdHeijden,

Can you resolve conflicts.

engcom-November avatar Jun 13 '24 07:06 engcom-November

I have resolved merge conflicts.

engcom-November avatar Jun 27 '24 09:06 engcom-November

@magento run all tests

engcom-November avatar Jun 27 '24 09:06 engcom-November

As this is a code quality PR, manual testing is not applicable.

Since builds are failing moving this to Extended Testing.

engcom-November avatar Jun 28 '24 05:06 engcom-November

@magento run all tests

engcom-November avatar Jun 28 '24 05:06 engcom-November

@magento run Functional Tests B2B, Functional Tests CE, Functional Tests EE, Integration Tests, Unit Tests

engcom-November avatar Jun 28 '24 08:06 engcom-November

Repeating Functional Tests B2B and EE failures are falky and are known issues:

Functional Tests B2B Run 1: image

Run 2: image

Known issues: ACQE-6695 - TierPricingWhenPriceScopeIsWebsiteWorkingProperlyWithMultipleCurrenciesConfiguredTest

Functional Tests CE Run 1: image

Run 2: image

Known issues: ACQE-6695 - TierPricingWhenPriceScopeIsWebsiteWorkingProperlyWithMultipleCurrenciesConfiguredTest

Functional Tests EE Run 1: image

Run 2: image

Known issues: ACQE-6695 - TierPricingWhenPriceScopeIsWebsiteWorkingProperlyWithMultipleCurrenciesConfiguredTest ACQE-6331 - StorefrontCreateOrderAllQuantityGroupedProductOptionDefaultStockTest

Hence moving this to Merge in Progress.

engcom-November avatar Jun 28 '24 12:06 engcom-November