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

JSON ParserError on 'addToDictionary' functionality. #26

Open
GoogleCodeExporter opened this issue Sep 15, 2015 · 5 comments
Open

JSON ParserError on 'addToDictionary' functionality. #26

GoogleCodeExporter opened this issue Sep 15, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Type poorly spelled words in a text box
2. Click "Check Spelling"
3. Click a word in the suggest box
4. Click "Ignore Forever"
5. Click Confirm on "Are you sure" box

What is the expected output? What do you see instead?
Expected: Words are added to the dictionary and no longer show up as misspelled

Actual: Words are added to the dictionary, but "Sorry, there was an error 
processing the request" alert pops up.

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

Please provide any additional information below.

In order to troubleshoot, I added XHR, status, and error (as defined in the 
function on 348 of jquery.spellchecker.js) and I get Invalid JSON: Array and 
parsererror as the errors.

Nothing I've done to tweak either the javascript or the spellchecking.php seems 
to solve it, so I'm sure it's something over my head especially since JSON 
isn't my forte. 

This is especially frustrating since it seems to be FUNCTIONING 100% properly. 
I have no issues whats-so-ever with any of it properly working, but this error 
is really driving me crazy. I've resorted to simply commenting out the error 
alert until I get an idea of a quick-fix or a new release that might solve this 
issue.

Thanks!

Original issue reported on code.google.com by brifrey...@gmail.com on 25 Aug 2011 at 9:47

@GoogleCodeExporter
Copy link
Author

As an added note: As I stated in my "Actual" case, the word is properly added 
to the dictionary, the error pops up, but the word no longer shows up as 
misspelled, so like I said, it's working fine, but there is a JSON error 
stopping it from presenting the script with a proper callback.

Original comment by brifrey...@gmail.com on 25 Aug 2011 at 9:49

@GoogleCodeExporter
Copy link
Author

I'm sorry.. the function as I stated in additional information appears to be on 
line 336, not 348.

Original comment by brifrey...@gmail.com on 25 Aug 2011 at 9:53

@GoogleCodeExporter
Copy link
Author

This should fix that.

Original comment by petr.vo...@gmail.com on 21 Nov 2011 at 3:17

@GoogleCodeExporter
Copy link
Author

This should fix that (do it in consistent way).

Original comment by petr.vo...@gmail.com on 21 Nov 2011 at 3:21

Attachments:

@GoogleCodeExporter
Copy link
Author

Great

[http://wisentechnologies.com/it-courses/javascript-training-in-chennai.aspx 
Online JavaScript Training]
[http://wisentechnologies.com/it-courses/javascript-training-in-chennai.aspx 
Online JavaScript Training From India]

Original comment by gym.prat...@gmail.com on 10 Dec 2014 at 7:41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant