NASA-AMMOS / slim

Software Lifecycle Improvement & Modernization
https://nasa-ammos.github.io/slim/
Apache License 2.0
26 stars 9 forks source link

[Bug]: `governance/contributions/issue-templates/` not found on website #103

Closed pogi7 closed 1 year ago

pogi7 commented 1 year ago

Checked for duplicates

Yes - I've already checked

Website or Best Practice Guide?

Website

Describe the bug

When I did went to this link https://nasa-ammos.github.io/slim/docs/guides/search/governance/contributions/issue-templates/ action, I noticed that there was no page that showed issue-templates

What did you expect?

I expected an issue-templates page to show up when I clicked https://nasa-ammos.github.io/slim/docs/guides/search/governance/contributions/issue-templates/

Reproducible steps

1.Go to https://nasa-ammos.github.io/slim/docs/guides/search/governance/contributions/issue-templates/

Environment

I'm using Safari to access Github Pages to view this URL https://nasa-ammos.github.io/slim/docs/guides/search/governance/contributions/issue-templates/
riverma commented 1 year ago

Hi @pogi7 - thanks for reporting this! Will investigate and fix.

For now - you can access the templates via:

riverma commented 1 year ago

@pogi7 - could you elaborate how you originally generated the bad link from the website? The proper link you should be sent to is this one.

pogi7 commented 1 year ago

@riverma I went to https://nasa-ammos.github.io/slim/docs/guides/search , searched for Issue , clicked the View button in Issue Ticket Templates , and it took me to the bad link. When I follow the aforementioned steps now, it takes me to the correct link.

riverma commented 1 year ago

@pogi7 I was able to reproduce this bug. Will investigate - thanks for the heads up!

riverma commented 1 year ago

It looks like the way to reproduce this error is:

  1. Navigate to https://nasa-ammos.github.io/slim/docs/guides/search or refresh that page if its open
  2. Click any of the panel “View” buttons
  3. Receive the below error:

    Page Not Found
    We could not find what you were looking for.
    
    Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

The strange thing is that this bug does not appear when someone navigates to the search page not directly, but via the website’s relative links (i.e. homepage or via clicking the top navbar) and clicks a “View” button link. This is likely a bug in how the FacetedPanels component handles the uri string and how Docusaurus auto-prepends relative URIs with a base URL. Needs further investigation.

riverma commented 1 year ago

@pogi7 - this has been resolved. Thanks for filing a ticket!