JalIrani / tomsoft

COSC 412 TOMsoft project
2 stars 7 forks source link

Number Value as Custom Field Name Causes OLI to not be able to start #80

Open phickm1 opened 9 years ago

phickm1 commented 9 years ago

OLI 0.6 develop2 on 4/29 at 19:30

Steps for repo:

Click administrator enter password and hit submit click settings gear click add printer Name printer anything name file extension name field #1 as a number, ie 10 do not click "numeric value" checkbox click save (there should be a confirmation box) close OLI reopen OLI

this will throw an error: "you have an error in your sql syntax; check the manual that corresponds to your mysql server version for the right syntax to use near '[fieldname] from printer_build

It seems like it does not check if the field name is a numeric value or not, it just assumes that the user will click the box.

cknoll1 commented 9 years ago

That box is for submissions. it specifies what the input for that field should be when a student is submitting.