-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
SalesSequence. The sales sequence profiles associated to storeview ID 1 should have as prefix 1 after new Magento setup #31447
base: 2.5-develop
Are you sure you want to change the base?
Conversation
Hi @vlmed. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hello @vlmed |
Hi @vlmed, thank you for your contribution! |
Hi @vlmed. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. |
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @vlmed for the fix and test coverage. 👍 I have only minor adjustments request for the method and class comments.
use PHPUnit\Framework\TestCase; | ||
|
||
/** | ||
* Testing data from the sales_sequence_profile table for default stores |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Testing data from the sales_sequence_profile table for default stores | |
* Test default created store views sales sequences prefix. |
} | ||
|
||
/** | ||
* Default stores data provider |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Default stores data provider | |
* Default store codes data provider |
} | ||
|
||
/** | ||
* Testing data from the sales_sequence_profile table for default stores |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Testing data from the sales_sequence_profile table for default stores | |
* Test prefix for default created store views. |
@magento run Integration Tests |
@magento run Integration Tests Functional Tests EE Functional Tests CE Functional Tests B2B Database Compare |
Sorry, but I don't agree with this statement. If this change has been implemented as requested in #30863:
Then this is backwards compatible in my eyes, only new shops being setup will have this change, older existing shops will never get this change. Correct? |
@hostep It is affect only for new Magento installations. If you look in the |
…r-default-created-storeview-sales-sequences
@magento run all tests |
… to compatibility with sequence prefix changing
@magento run Functional Tests CE, Functional Tests EE, Functional Tests B2B |
@magento run all tests |
Hi @sivaschenko: you never replied to my statement above? Also: what's the status of this PR? |
Hi @hostep , even if these changes will be applied to the new stores only, that is still remaining a BIC for extensions that may rely their implementation on the current behaviour. |
Okay, thanks for the feedback, I can live with that 🙂 |
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. |
6 similar comments
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. |
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. |
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. |
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. |
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. |
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 all tests |
1 similar comment
@magento run all tests |
@engcom-Charlie: no idea why you added 250+ random commits to this PR? But you should probably rebase with git before proceeding with this PR, so the commits are clean again? |
67b0bda
to
a1f5e2f
Compare
@magento run all tests |
Description (*)
Added logic to check store ID before create sequence table.
Set store ID as prefix If storeId === 1.
Modified class Magento\SalesSequence\Setup\SequenceCreator
Related Pull Requests
https://github.com/magento/partners-magento2ee/pull/471
https://github.com/magento/partners-magento2b2b/pull/557
magento/inventory#3293
Fixed Issues (if relevant)
Manual testing scenarios (*)
New magento install
Upgrade magento
Contribution checklist (*)