digideskio / googletransitdatafeed

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

Lack of form closing tag in schedule_viewer, makes "find station" not working #355

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run schedule_viewer with any gtfs file
2. put any name to "Find Station:" field and click search button.

What is the expected output? What do you see instead?
The schedule_viewer is supposed to find station with that name, and display 
markers of that station. 
Nothing happens instead, and the web server logs the following lines:
localhost - - [12/Jan/2013 19:25:15] code 404, message Not Found
localhost - - [12/Jan/2013 19:25:15] "GET /json/savedata HTTP/1.1" 404 -

What version of the product are you using? On what operating system?
transitfeed-1.2.12, Windows XP, Firefox 18.0

Please provide any additional information below.
The \gtfsscheduleviewer\files\index.html in line 720: <form 
onSubmit="saveData(); return false;"><input value="Save" type="submit"> lacks 
of </form> closing tag, making further inputs related to station search to be 
children of the saveData() form.
The issue is solved by adding </form> at the end of line 720 in index.html

Original issue reported on code.google.com by powc...@gmail.com on 12 Jan 2013 at 7:01

GoogleCodeExporter commented 9 years ago

Original comment by bdfer...@google.com on 26 Sep 2014 at 4:51

GoogleCodeExporter commented 9 years ago
Moved to https://github.com/google/transitfeed/issues/355

Original comment by bdfer...@google.com on 7 Oct 2014 at 7:41