You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure Element names do not include carriage returns. Sanitize Element name to remove carriage returns in content.
To Reproduce
This may be difficult to reproduce. Possibly reproduce by creating a component via Django shell and saving it. The Django admin pages naturally clear carriage returns.
The problem happened from the NLP processing that discovered new components. When an Element name contained a new line, the new line created an error in generating the javascript inside a Django template.
Dayton discovered the error with the Components named "Appendix I" and "Appendix T" and Greg diagnosed issue.
Expected behavior
Element names do not cause a problem for templates or javascript in templates. Element name and description can be edited via modal.
Developer hints
hint
Acceptance criteria
criteria
Reference
The text was updated successfully, but these errors were encountered:
Bug
Make sure Element names do not include carriage returns. Sanitize Element name to remove carriage returns in content.
To Reproduce
This may be difficult to reproduce. Possibly reproduce by creating a component via Django shell and saving it. The Django admin pages naturally clear carriage returns.
The problem happened from the NLP processing that discovered new components. When an Element name contained a new line, the new line created an error in generating the javascript inside a Django template.
Dayton discovered the error with the Components named "Appendix I" and "Appendix T" and Greg diagnosed issue.
Expected behavior
Element names do not cause a problem for templates or javascript in templates. Element name and description can be edited via modal.
Developer hints
Acceptance criteria
Reference
The text was updated successfully, but these errors were encountered: