-
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
Add the 'edition' parameter to getVersion() and getVersionInfo() #112
Conversation
… make it easier for developers to distinguish between Community and Enterprise editions
Hello. Can you provide a clear use case for getting this information? From what we saw it promotes bad code practices. What would you do in a different way for CE and EE? |
What do you mean by 'bad code practices'? We build & maintain numerous If I use getVersion() now, I get '1.7.0.0', which can both be EE 1.7 (old Peter Jaap Blaakmeer On Thu, Nov 1, 2012 at 5:35 PM, mage2-team notifications@github.com wrote:
|
One nice solution for this would be to equalize the versioning schema for EE and CE. So Magento EE 2.0 and Magento CE 2.0 should use the same code base. |
Hello. We will have a getEdition method implemented/refactored. As for the equalization of versioning - this is a good idea but it is still too early for us to take final decision. Thanks for the tip. |
[API] Sprint 43
[WebDev+MPI+FearlessKiwis] Bugfixes
For future reference, almost 2 years later (already 3 years ago), it was added in |
MAGETWO-89914: Magento\Quote\Api\CartItemRepositoryTest::testGetList …
…id on import product category initialization to 0 #112 - Merge Pull Request magento-engcom/import-export-improvements#112 from pogster/import-export-improvements:product-category-import-storeid-fix - Merged commits: 1. b49d2ff 2. 2e04d50
…id on import product category initialization to 0 #112
- Merge Pull Request magento/graphql-ce#112 from magento/graphql-ce:19-add-breadcrumbs-support - Merged commits: 1. 34ed6d1 2. 78a67c3 3. 3d973af 4. cfd7502
Add the 'edition' parameter to getVersion() and getVersionInfo() to make it easier for developers to distinguish between Community and Enterprise editions.
Right now we have to do something like this;
Which is not 100% safe since the PageCache extension can be deactivated in an EE installation.