import id problem
Bug #325390 reported by
Tom Hoffman
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool |
Fix Released
|
High
|
Ignas Mikalajūnas |
Bug Description
My problem is similar to Brian Lockwood's but was not solved in that conversation.
I created the school year 2009, a term called "Semester 1" and a timetable called "Mark 1". When I import the following csv file I receive an error message about a non-existant timetable. I'm presuming a timetable title and id are different but cannot find a reference to a timetable ID field (as distinct from Title). I used the help screen to format the csv file thus:
"Semester 1","Mark 1"
"","",""
"Infotech","sav"
Monday, 1
Wednesday, 5
Wednesday, 6
Thursday, 2
Friday, 6
***
freddie
jill
sarah
etc
All my other imports have been trouble free.
Laurie savage
Changed in schooltool: | |
assignee: | nobody → ignas |
importance: | Undecided → High |
milestone: | none → jaunty |
Changed in schooltool: | |
status: | New → Fix Released |
To post a comment you must log in.
There seem to be two problems here:
First, our documentation is out of date. We've removed the first item, the term, from the file. So instead of:
"Semester 1","Mark 1"
you want:
"Mark 1"
We'll fix the documentation.
Second, you need the ID of the term, not the title. At the moment the id is not visible in the web interface (this is a bug) except for in the URL.
So if you navigate to the term you should see a URL more or less like this (the name of the year may be different), where the term ID is the last part of the URL:
http:// localhost: 7080/schoolyear s/2006- 2008/mark- 1
The ID of "Mark 1" is probably "mark-1" unless you explicitly set it otherwise. You need to use the ID, so the final answer is the first line should probably be
"mark-1"
But you should check the URL to make sure that's the actual term ID.