Open schmengler opened 1 year ago
Hi @schmengler. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
@magento give me 2.4-develop instance
- upcoming 2.4.x release@magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel. :warning: According to the Magento Contribution requirements, all issues 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 issues 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.
Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branch@magento give me 2.4-develop instance
to deploy test instance on Magento infrastructure. 2.4-develop
branch, please, add the label Reproduced on 2.4.x
.Issue: Confirmed
once verification is complete. Hi @schmengler,
Thank you for reporting and collaboration.
As per Magento devdocs https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/next-steps/sample-data/remove-or-update.html?lang=en#prepare-to-update-sample-data the bin/magento sampledata:reset
command enables you to update sample data.
Could you please refer the document and please let us know if we are missing anything.
Thanks.
@engcom-Bravo I see no issue with that documentation. I assume it is still correct that this command should be used before updating. However, this is not the only purpose. If we look at the output of bin/magento help sampledata:reset
, it says "Reset all sample data modules for re-installation"
Description:
Reset all sample data modules for re-installation
Usage:
sampledata:reset
Options:
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
For proper reinstallation, the DB entries for data patches must be removed so that they will be re-applied again to create products etc.
To clarify again: Currently, the command does nothing
Hi @schmengler,
Thanks for your update.
We are considering this as a feature request to proceed further as this as a existing behaviour of Magento.
Thanks.
@engcom-Bravo in this case, I would request to delete the paragraph of the documentation, because - I repeat - the command currently does nothing.
Preconditions and environment
With Magento 2.3.0, the sample data modules were changed to work with data patches instead of legacy data upgrade scripts. But the reset command still assumes a
data_version
of the module which is not used anymore:Steps to reproduce
bin/magento sampledata:deploy
bin/magento sampledata:reset
Expected result
patches from sample data modules are removed from
patch_list
database tableActual result
no change
Additional information
No response
Release note
No response
Triage and priority