Skip to content
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

Default Store id is not matching the store id from the request path #39356

Closed
1 of 5 tasks
grifx opened this issue Nov 12, 2024 · 4 comments
Closed
1 of 5 tasks

Default Store id is not matching the store id from the request path #39356

grifx opened this issue Nov 12, 2024 · 4 comments
Assignees
Labels
Issue: needs update Additional information is require, waiting for response Reported on 2.4.7 Indicates original Magento version for the Issue report.

Comments

@grifx
Copy link

grifx commented Nov 12, 2024

Preconditions and environment

  • Magento version: 2.4.7

The default Store Code is not resolved from the request path

E.g: https://magento.test/admin/admin/system_config/edit/key/ed990becfa3389bf0eeccf8ccefc99f7cc2a2da4cc901848f541087d757d8e27/section/main_section/store/2

The store is resolved properly when the query parameter is set:

https://magento.test/admin/admin/system_config/edit/key/ed990becfa3389bf0eeccf8ccefc99f7cc2a2da4cc901848f541087d757d8e27/section/main_section/store/2?___store=2

Steps to reproduce

Expected result

  • Case 1: 2
  • Case 2: 2

Actual result

  • Case 1: 1
  • Case 2: 2

Additional information

If this is a bug, it could be in:

  • \Magento\Store\App\Request\StorePathInfoValidator::getValidStoreCode

The default store value is already incorrect from the cache in:

  • \Magento\Store\Model\StoresData::getStoresData

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Copy link

m2-assistant bot commented Nov 12, 2024

Hi @grifx. 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.


Join Magento Community Engineering Slack and ask your questions in #github channel.
⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.
🕙 You can find the schedule on the Magento Community Calendar page.
📞 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.

Copy link

m2-assistant bot commented Nov 12, 2024

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: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
  • 3. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
  • 4. Verify that the issue is reproducible on 2.4-develop branch
    Details- If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
  • 5. Add label Issue: Confirmed once verification is complete.
  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-Bravo engcom-Bravo added Reported on 2.4.7 Indicates original Magento version for the Issue report. Issue: needs update Additional information is require, waiting for response labels Nov 12, 2024
@engcom-Bravo engcom-Bravo moved this from Ready for Confirmation to Needs Update in Issue Confirmation and Triage Board Nov 13, 2024
@engcom-Bravo
Copy link
Contributor

Hi @grifx,

Thanks for your reporting and collaboration.

We have tried to reproduce the issue in Latest 2.4-develop instance and we need more information to proceed further.Could you please elaborate the steps to reproduce and expected and actual results.

Screenshot 2024-11-13 at 10 31 48 Screenshot 2024-11-13 at 10 32 16

Thanks.

@engcom-Bravo
Copy link
Contributor

Hi @grifx,

This issue is being closed since it has not been updated in a long time.Please feel free to reopen or raise a new ticket if the issue still exists.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: needs update Additional information is require, waiting for response Reported on 2.4.7 Indicates original Magento version for the Issue report.
Projects
None yet
Development

No branches or pull requests

2 participants