csv section import allows erroneous csv; creates sections that cannot be accessed (404) or deleted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool |
Triaged
|
Medium
|
Douglas Cerna |
Bug Description
When you import Section information you can put in an erroneous Schooltool ID for the section. It will create the Section without errors and display a link to it on the sections page. It will not actually let you access it or modify it when you click it, instead it will give a 404-esq page saying the section doesn’t exsist. I believe this is because the URL is not well formatted.
Example:
Tried to create (via import CSV) a section with school tool id “S5 Math (MPC/MCB/MPG) Term 1”. Either the / or the ( was the culprit because “S5 Math MPC MCB MPG Term 1” created the section normally.
As a side note, what I was really trying to do was not set the schooltool-id for the section, but rather the section title, via CSV. There doesn’t seem to be a way to do this with the import.
Hi Lyla,
The CSV importers in general are considered "mostly deprecated," and if they are buggy, we'll probably just remove them.
Is there some reason you were using CSV and not the .xls importer? Just that it was easier to find the link to the CSV?