Symptom
When creating a new question in either Question Library or under Assessments, when attempting to save the question that was created, an error is seen. The error states "The Question text must not exceed 1,333 characters"
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors Learning
Reproducing the Issue
- Go to Content -> Assessments
- Either create a new Assessment or edit an existing one
- Make sure that the question has a length of more than 1325 characters (one byte characters)
- Attempt to save the question
- Error will be seen
Cause
We have to limit the amount of bytes to fit the database table size of varchar2(4000). While we could accommodate more bytes, up to 4000, we support Unicode which can have one character be 3 bytes. We have to have validation warning messages for all scenarios. There are also hidden HTML tags that are added as well which count towards the overall amount of bytes such as <p>. Data is first URL-encoded before stored which will add to the amount of bytes used and accounted for in this limit.
Resolution
You will need to adhere to the validation warning message. There are no configurations to override this warning.
You can go through our enhancement request process to change the current behavior of the product. Please look at 2090228 for more information on this process.
A possible scenario/workaround would be to include a screenshot of the full text that is too long for the text box. This would not allow for translation or for resizing of text but is an avenue to consider.
Keywords
assessments exam questions question error validation message 1333 1,333 characters bytes sf lms update exam quiz asb learning , KBA , LOD-SF-LMS-ASB , Assessment Builder , LOD-SF-LMS , Learning Management System , Problem