I am looking to move my Wakanda application, created in Enterprise Studio v10, to Enterprise Studio/Server v11. I can start the solution successfully, but when I try to view my webapp in browsers, Wakanda Studio logs the error:
[Backend] Cannot read property 'replace' of undefined in undefined on line undefined
and the browser shows just a white page with some console errors (below).
Edit: commenting out all occurrences of .replace()
does not solve the problem. I do not believe it is possible that this issue is the result of .replace()
statements that I've written.
I do use string.replace()
with regular expressions in a few places. The code works perfectly fine in v10 and am confused about what could be wrong.
Here is an example of how I am using replace()
in the code:
var tempString = "";
tempString = tempEntity.sourceProjects;
tempString = tempString.replace(/,/g, " ");
tempString = tempString.replace(/other_/, "Other: ");
The code was more streamlined before- I broke it out into pieces in an attempt to get rid of the error, but no dice.
What I see when I click on "Loader.js: 2073"