NetTalk Central

Author Topic: Problem with NT10 and my Calendar  (Read 3737 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Problem with NT10 and my Calendar
« on: September 09, 2017, 07:56:50 AM »
Hi,
When trying to run my calendar compiled with NT10, I get a js error that does not happens in NT9.
Please see image
Anything I can do?
Thanks

PS Attached goes an example.
-----------
Regards
Alberto

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Problem with NT10 and my Calendar
« Reply #1 on: September 09, 2017, 09:52:14 AM »
jFiles is the culprit...

Version 1.51 (1 September 2017)
Add: MaxPrefixLengthInJSON property. This sets the cut-off length for removing prefixes, from the incoming JSON, when removePrefix is on. The default value is 4 (which includes the separator.)

This "add" makes that all my json objects now include the prefix.

I had to add:

    json.RemovePrefix=1
    json.MaxPrefixLengthInJSON=100

for it to work like the last version.

Regards
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: Problem with NT10 and my Calendar
« Reply #2 on: September 10, 2017, 10:35:21 PM »
yes, if you use prefix chars longer than 3 chars, then you will need to set the prefix length up.

cheers
Bruce