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

Navigated to invalid page when "See Electra Bikes" button where it is located on the home page is clicked #584

Closed
1 task done
oguzhancvdr opened this issue Sep 2, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@oguzhancvdr
Copy link
Contributor

oguzhancvdr commented Sep 2, 2023

Summary

Hello, When I practice with lwc via Quick Start: Explore the E-Bikes Sample App, I have realized that "see electra bikes" button navigates me to invalid page. Thus, I report this small bug and contribute to this helpful repo.

Salesforce Org Type

Scratch Org

Steps To Reproduce

  1. Login into your salesforce org which is E-Bikes, experience site, is deployed and published.
  2. In Setup, write all sites in Quick Find search bar and click All Sites under the Digital Experiences
  3. There will be your sites, Find the site which is named as E-Bikes and click the url which is under the URL column.
  4. After you open the e-bike site, click the SEE ELECTRA BIKES button which is located on second banner.
  5. You will be navigated to invalid page.

Current Behavior

The "see electra bikes" button where it is located on the second banner of the home page leads to invalid page. The related wrong path is "ebikes/s/product-family/a028e000004Ls1wAAC"

Expected Behavior

The "see electra bikes" button where it is located on the second banner of the home page should navigate to details page not to the product-family page. The path should be changed from "ebikes/s/product-family/a028e000004Ls1wAAC" to "ebikes/s/detail/a028e000004Ls1wAAC".

Relevant Log Output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@oguzhancvdr oguzhancvdr added the bug Something isn't working label Sep 2, 2023
oguzhancvdr added a commit to oguzhancvdr/ebikes-lwc that referenced this issue Sep 2, 2023
@github-actions
Copy link

github-actions bot commented Sep 2, 2023

Thank you for posting this issue. 🙇🏼‍♂️
We will come back to you shortly.

pozil pushed a commit that referenced this issue Sep 20, 2023
* fix navigating to invalid page issue[#584]

* test case updated
@pozil
Copy link
Contributor

pozil commented Sep 20, 2023

Thanks for the fix. I merged your PR.

@pozil pozil closed this as completed Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants