https://sourceforge.net/apps/trac/sourceforge/ticket/26000
Hi,
I have tried many things but cannot seem to view the code of the file, "index.html", in the code section of project JavaScript Chess.
I have tried:
- Remove all files, add all files.
- Remove only the index file, add index file.
- Both 1. and 2. after deleting and restoring the Git SourceForge tool from the project.
- renaming the file (which could be viewed, by the way) and renaming it back to "index".
How can I make the code of this file viewable?
Sincerely,
alhambra1
He's referring to the index.html file here: https://sourceforge.net/p/chessjs/code/
Created #150: [#4334] index.html not viewable in code browser (2cp)
Related
Tickets:
#4334Closed #150, branch - 42cc_4334
The fix is rather just a temporarily workaround. The problem is related to controller url dispatching. We've got the same problem with Wiki. Try to create a page named "index" and you won't be able to open it. I propose to create a separate ticket, where write down which other tools contain this issue and fix them all in a more general way.
Adding the _ prefix into the URL seems like a bit too much of a hack. I know TurboGears has special handling for 'index' so we certainly need some hack on the controller, but we really should strive to keep the URLs consistent and not have to worry about making sure all links everywhere reflect the hack. Maybe look deeper into the TurboGears implementation to figure out how to work around it? Or google/ask the TG community how to do a workaround.
milestone: limbo --> forge-backlog
created #158: Fix index issue hacking the TG url dispatching (3cp)
Closed #158, branch - 42cc_4334_fix
We've also fixed Wiki and Discussion, as well as Code Broswer.
If somewhere there will be such an issue with /index, just add mixin DispatchIndex to the proper controller
status: code-review --> closed
milestone: forge-backlog --> forge-sep-07