google-code-export / cpassman

Automatically exported from code.google.com/p/cpassman
0 stars 0 forks source link

Search - DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error. #211

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Any attempt to use the find page
2.
3.

What is the expected output? What do you see instead?
Without inutting any search criteria, I am presented with the following error - 
"DataTables warning: JSON data from server could not be parsed. This is caused 
by a JSON formatting error."

What version of the product are you using?
2.0 Final

Please provide any additional information below.

Original issue reported on code.google.com by mjco...@gmail.com on 14 Dec 2011 at 4:33

Attachments:

GoogleCodeExporter commented 9 years ago
Same problem here
Franck

Original comment by franck.b...@gmail.com on 20 Dec 2011 at 8:20

GoogleCodeExporter commented 9 years ago
Can you check what kind of special characters you are using and in which field?

I've done several tests and can't repoduce it. THis error appears when the 
string from server is broken. The only way for it for being broken is a special 
character that is not protected.

Original comment by nils.cpa...@gmail.com on 21 Dec 2011 at 5:58

GoogleCodeExporter commented 9 years ago
I get the error without entering any characters. Just browsing to the find page 
results in the JSON error.

Original comment by mjco...@gmail.com on 22 Dec 2011 at 5:16

GoogleCodeExporter commented 9 years ago
The search page displayed all youe items.
Take a look to your 10 1st items (when classified by alphabetic orders)

Original comment by nils.cpa...@gmail.com on 23 Dec 2011 at 7:06

GoogleCodeExporter commented 9 years ago
Thank you, I think I figured it out. I imported my passwords from keepass, and 
some of them had description fields with double quotes. After the import, 
Teampass added a backslash before each double quote. After editing the 
description and removing the backslash it works great.

Original comment by mjco...@gmail.com on 27 Dec 2011 at 2:09

GoogleCodeExporter commented 9 years ago
OK interesting.

I'll try to improve this backslashes issue.

Thanks for posting your results

Nils

Original comment by nils.cpa...@gmail.com on 27 Dec 2011 at 7:41