#4334 index.html not viewable in code browser

v1.0.0
closed
nobody
SCM
nobody
2015-08-20
2012-06-07
Chris Tsai
No

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:

  1. Remove all files, add all files.
  2. Remove only the index file, add index file.
  3. Both 1. and 2. after deleting and restoring the Git SourceForge tool from the project.
  4. 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/

Related

Tickets: #4334
Tickets: #4850

Discussion

  • Dave Brondsema

    Dave Brondsema - 2012-08-15
    • labels: support --> support, 42cc
     
  • Yaroslav Luzin - 2012-08-17
    • status: open --> in-progress
     
  • Yaroslav Luzin - 2012-08-17

    Created #150: [#4334] index.html not viewable in code browser (2cp)

     

    Related

    Tickets: #4334

  • Yaroslav Luzin - 2012-08-22

    Closed #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.

    • status: in-progress --> code-review
     
  • Dave Brondsema

    Dave Brondsema - 2012-08-23
    • need a test
    • what happens if the filename is "foobarindex.txt"? I think the logic is too loose.
    • 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

     
  • Dave Brondsema

    Dave Brondsema - 2012-08-23
    • status: code-review --> open
     
  • Yaroslav Luzin - 2012-08-28
    • status: open --> in-progress
     
  • Yaroslav Luzin - 2012-08-28

    created #158: Fix index issue hacking the TG url dispatching (3cp)

     
  • Yaroslav Luzin - 2012-09-03

    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: in-progress --> code-review
     
  • Dave Brondsema

    Dave Brondsema - 2012-09-06
    • status: code-review --> closed

    • milestone: forge-backlog --> forge-sep-07

     

Log in to post a comment.