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
Describe the bug
An error occurs when importing an Excel file containing answer data that is created using only double-byte full-width characters.
To Reproduce
An error occurs when importing an Excel file created with answer data using only Japanese full-width 2-byte characters.
Please import using the attached Excel file.
・Import results
QnABot.keyword1 to QnABot.keyword5 are NG
QnABot.keyword6 to QnABot.keyword10 are OK
・NG error message
Error Loading Content
Warning: No answer found for QID:"QnABot.keyword1". The question will be skipped.
Warning: No answer found for QID:"QnABot.keyword2". The question will be skipped.
Warning: No answer found for QID:"QnABot.keyword3". The question will be skipped.
Warning: No answer found for QID:"QnABot.keyword4". The question will be skipped.
Warning: No answer found for QID:"QnABot.keyword5". The question will be skipped.
・Difference between NG and OK
NG answer data contains only full-width 2-byte characters
OK answer data contains 1-byte characters
Expected behavior
You can import answer data containing only Japanese full-width 2-byte characters.
Please complete the following information about the solution:
However if you need to make changes to your local deployment to ingest double-byte characters, you can do the following:
Replace if (!question.a || question.a.replace(/[^a-zA-Z0-9-_]/g, '').trim().length == 0) {
to if (!question.a || question.a.replace(/\s/g, '').length == 0) {
In convert-xlsx.js (Ln 175) & import.vue (Ln 398 & 437). This will allow you to import xlsx & json with double-byte chars only.
Describe the bug
An error occurs when importing an Excel file containing answer data that is created using only double-byte full-width characters.
To Reproduce
An error occurs when importing an Excel file created with answer data using only Japanese full-width 2-byte characters.
Please import using the attached Excel file.
・Import results
QnABot.keyword1 to QnABot.keyword5 are NG
QnABot.keyword6 to QnABot.keyword10 are OK
・NG error message
Error Loading Content
Warning: No answer found for QID:"QnABot.keyword1". The question will be skipped.
Warning: No answer found for QID:"QnABot.keyword2". The question will be skipped.
Warning: No answer found for QID:"QnABot.keyword3". The question will be skipped.
Warning: No answer found for QID:"QnABot.keyword4". The question will be skipped.
Warning: No answer found for QID:"QnABot.keyword5". The question will be skipped.
・Difference between NG and OK
NG answer data contains only full-width 2-byte characters
OK answer data contains 1-byte characters
Expected behavior
You can import answer data containing only Japanese full-width 2-byte characters.
Please complete the following information about the solution:
ConversationDataForKeywordSearch_20240528.xlsx
To get the version of the solution, you can look at the description of the created CloudFormation stack. For example, "(SO0189) QnABot [...] v0.0.1".
Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: