kumarsivarajan / proquiz

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

Quiz does not appear when a sub category that is selected whose name is greater than 32 characters #18

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a subcategory greater than 32 characters in length
2. Assign to a question
3. Create quiz, filter for created sub category

What is the expected output? What do you see instead?

Quiz is expected but all that appears is page with blank contents section

What version of the product are you using? On what operating system?

2.02

Please provide any additional information below.

It appears that this is caused by the use of different field lengths in the 
database. Specifically, the category / subcategory fields allow for entries up 
to 100 characters, but the pq_quest table allows only 32 characters in length. 

Altering the pq_quest table to support 100 characters for both the category and 
subcategory fields appears to solve the problem.

Original issue reported on code.google.com by tom.stro...@gmail.com on 28 Nov 2011 at 2:12