Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Switching Between Languages on Categories Page
Last Post 05/14/2014 6:13 PM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Damian
New Member
New Member
Posts:3


--
05/08/2014 8:22 PM
I'm getting a javascript error (see below) on language drop down selection change on the categories page. It appears that this error is preventing the category tree from updating to any other language than default. I tried to manage the categories in non-AJAX mode, but I don't see an option to switch languages in that interface. Please advise. Thanks.


Uncaught Sys.ArgumentException: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON.
Parameter name: data

After a bit more digging I found some more (hopefully) useful information. The script fails on this call:
Sys.Serialization.JavaScriptSerializer.deserialize(nodes.getNode([y]).get_value())
Here is what JavaScriptSerializer is trying to deserialize:
{"category": {"CategoryId": "1926", "en_US": "Asia Pacific"}}
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/14/2014 6:13 PM
Hmm. The JSON looks valid. Can you give me a rundown of versions? I.e. what DMX version, DNN version, .net version (app pool) and Windows Server version?

Peter
You are not authorized to post a reply.