Author Topic: Error in formula parsing  (Read 1203 times)

vsa

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 12
    • View Profile
Error in formula parsing
« on: October 22, 2021, 03:35:38 pm »
Hello,

There is an important and quite weird bug giving an error if there is a specific string ("F" and probably others?):

Code: [Select]
var data = [
    { col1: "S", col2: null, col3: null, col4: null,           
        pq_fn: {                     
                col2: 'IF(A1="S", 1, 0)',// OK
                col3: 'IF(A1="F", 2, 0)',// NOT OK . Returns: Unexpected token ')'
                col4: 'IF(A1="f", 3, 0)',// OK
        }
    }
];

Here is a link to jsFiddle:
https://jsfiddle.net/93pe4n7v/

Thank you in advance.

Sincerely

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Error in formula parsing
« Reply #1 on: October 24, 2021, 09:55:29 pm »
Thanks for reporting issue, it has been fixed in the upcoming version and would be released in few days.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Error in formula parsing
« Reply #2 on: November 29, 2021, 10:57:10 pm »
This has been fixed in v8.2.0