Jon Haider
Posts: 0
Joined: Thu Oct 16, 2014 2:53 pm

HUGE PROBLEM: All server code scripts have been reset while using your new folder feature

Hey guys,

I just noticed that you added a feature to the server code environment to create folders. So i created some folders and I moved some scripts into these folders for logically ordering things. The bad news is that ALL of the scripts that I moved into these new folders have been reverted back to the default script:

pre
var responseBody = {},
requestParams = {},
paramKeys = Apperyio.request.keys();

for (var key = 0; key < paramKeys&#46;length; key++) {
requestParams[paramKeys[key]] = Apperyio&#46;request&#46;get(paramKeys[key]);
}
responseBody&#46;requestBody = Apperyio&#46;request&#46;body();
responseBody&#46;requestParams = requestParams;
console&#46;log(responseBody);
Apperyio&#46;response&#46;success(responseBody, "application/json");
/pre

Now none of my server code scripts work any more and I need to recover them asap. There's no way moving scripts using the drag and drop that is provided should reset the scripts. Our app is currently completely useless...

Please help - this is an awful situation.

As always, thank you in advance!!

Return to “Issues”