You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug during translating XML to JSON.
itoolkit.js, errorReg constant.
In XML there is a new line sign between markups, I got nulls instead of error code.
Adding new line sign resolves this problem.
Suggesting change this line of code: const errorReg = /<error>.*?\*\*\* error (.*?)<\/error>.*?<error>(.*?)<\/error>/;
To this: const errorReg = /<error>.*?\*\*\* error (.*?)<\/error>.*?\n<error>(.*?)<\/error>/;
The text was updated successfully, but these errors were encountered:
There is a bug during translating XML to JSON.
itoolkit.js, errorReg constant.
In XML there is a new line sign between markups, I got nulls instead of error code.
Adding new line sign resolves this problem.
Suggesting change this line of code:
const errorReg = /<error>.*?\*\*\* error (.*?)<\/error>.*?<error>(.*?)<\/error>/;
To this:
const errorReg = /<error>.*?\*\*\* error (.*?)<\/error>.*?\n<error>(.*?)<\/error>/;
The text was updated successfully, but these errors were encountered: