Symfony-docs: Link for documentation page of DotEnv Component returns 404 Not Found

Created on 23 Feb 2017  路  7Comments  路  Source: symfony/symfony-docs

Browsing to DotEnv Component doc deals with a 404 page not found.
How to reproduce:

  1. Go to http://symfony.com/
  2. Click on the Browse components link
  3. Go to Component List and click on Dotenv (you could to click on the link in the third column for docs and it has the same effect - 404)

Now in the Dotenv component main page click on Documentation. It returns a 404 Not Found.

selecao_109

Note

Swapping current segment of URL to master it works.

selecao_110

Reviewed Website bug hasPR

Most helpful comment

Yes, the problem is exactly what you said: current today points to 3.2, but DotEnv only exists in 3.3+

Should we remove this component until May 2017 when current turns into 3.3?

All 7 comments

Yes, the problem is exactly what you said: current today points to 3.2, but DotEnv only exists in 3.3+

Should we remove this component until May 2017 when current turns into 3.3?

Can't it automatically create a link to the version that _is_ available? A master version should _always_ be available if there's no tagged version.

@iltar a bug fix has been proposed and if merged/deployed, this could be soon fixed. Thanks!

Closing it as fixed because the http://symfony.com/doc/current/components/dotenv.html page now displays a proper error message with a link to the "master" doc:

dotenv-doc

As a heads up, the documentation link in the DotEnv Repo is currently set to https://symfony.com/doc/current/components/dotenv/index.html rather than the URL referenced in this issue, http://symfony.com/doc/current/components/dotenv.html

While the link referenced here does have a link on the page to the master URL, the link in the DotEnv repo is a generic 404 with no link to master (or anything else relevant).

@bitdagger thanks for reporting it. Can you maybe submit a PR to symfony/symfony to fix the link in the README.md file? The link should be updated to link to the correct one, .../components/dotenv.html

Was this page helpful?
0 / 5 - 0 ratings