PecanProject / bety

Web-interface to the Biofuel Ecophysiological Traits and Yields Database (used by PEcAn and TERRA REF)
https://www.betydb.org
BSD 3-Clause "New" or "Revised" License
16 stars 38 forks source link

Link to "CF Guidelines" is broken on PEcAn Virtual Machine #308

Closed zhangwenx closed 9 years ago

zhangwenx commented 9 years ago

Browser: Firefox Go to Data -> Variables -> Edit record: C F Guidelines is a broken link that next page result in "Not Found".

dlebauer commented 9 years ago

When I do this, I am re-directed to https://www.betydb.org/guidelines.html (as expected)

Are you using betydb.org, or another instance?

Could you paste the url that you see when you hover over or copy the "CF Guidelines" link?

zhangwenx commented 9 years ago

Yes, I am testing on vm 1.4.2. I think that is why. ( http://localhost:6480/guidelines.html )

dlebauer commented 9 years ago

Not sure why this would be an issue on the VM. The page should be in public/guidelines.html.

gsrohde commented 9 years ago

This is a problem that only shows up in subdirectory deployments (i.e., home page is at http://hostname/subdir instead of http://hostname). Fixed in commit b62ea598 using a named route in the link-helper. Let me know if not!

gsrohde commented 7 years ago

Fixed by release 4.2.