Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Charts don't display when a double quote was entered in a free text response #48

Closed
MaiklT opened this issue May 20, 2020 · 2 comments
Closed
Milestone

Comments

@MaiklT
Copy link
Collaborator

MaiklT commented May 20, 2020

Describe the bug

When a double quote is entered in a free text response, the Javascript to display the chart fails.

Software Versions

  • DNN: xx.xx.xx
  • Module: 09.00.01

To Reproduce

Steps to reproduce the behavior:

  1. Add a free trext response to a survey
  2. Add answers, use a double quote somewhere in the free text response
  3. Show results
  4. No charts are displayed

Expected behavior

Charts should display.

Error log

Javascript console:
Uncaught SyntaxError: Unexpected identifier

Additional context

Workaround: replace the double quotes in the database by single quotes

@MaiklT
Copy link
Collaborator Author

MaiklT commented May 30, 2020

Same for line breaks.

@valadas
Copy link
Member

valadas commented Nov 7, 2020

Fixed in shortly upcoming 9.1.0

@valadas valadas closed this as completed Nov 7, 2020
@valadas valadas added this to the 9.1.0 milestone Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants