Dreamfactory always has the same Return Value


#1

I am having a frustrating issue of Dreamfactory always making the same return value regardless of what it should return, this happens contantly and can only be fixed by deleting services and recreating them.

The only way I can really describe this simple is that you could make a simple test program such as

var cat = "meow";
return cat;

and the return would be “meow”, however if you where to change this to:

var cat = "woof";
return cat;

then you would get the return “meow” again. this is especially aggravating when you have a real error and it becomes impossible to tell if you simply have not fixed the error with the changes to the code or you have somehow become entrapped by this bug.

Edit: A quick fix is to clear the cache within the config menu.