yfu7 / jbooktrader

Automatically exported from code.google.com/p/jbooktrader
0 stars 0 forks source link

404 in web console for strategy report #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Delete an existing strategy report
2. Start JBT in forward test mode and open a web console
3. When the number of trades is still zero, click on the strategy name to
see the report

What is the expected output? What do you see instead?
Expected: some sort of one liner explaining that strategy report is empty
Actual: 404 error.

Original issue reported on code.google.com by eugene.k...@gmail.com on 20 Jul 2009 at 1:29

GoogleCodeExporter commented 9 years ago
The links are now removed (via AJAX/DOM) if the reports do not exist and 
replaced
when the reports become present.  In older browsers that do not support
XMLHttpRequest, these links will still exist even when the reports do not and 
the
user will obtain a "404 Not Found" when clicked.

Original comment by mkoistinen@gmail.com on 22 Jul 2009 at 7:29