Page 1 of 1

Generic Service Not Defined

Posted: Sun Apr 13, 2014 5:01 am
by Kapow36

I'm having trouble with 5 generic services that were working before, and now they don't. I haven't changed any of the code. I've already shared my project with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a (homeschool-life). What's happening is that I have this code to execute generic services...

codegeneric.admin = execute.genericService(GenericPendingSignUpsService,"DataPendingSignUps",true,0);//execute generic service/code

and this is the function that does the actual execution...

code//function executes generic services and sets boolean values
execute.generic = function(service,data,boolean)
{
try
{
if(boolean)
{
REST.data = data;//load data
service.execute({});//execute service
}
return false;//return boolean for test boolean
}
catch(err)
{
Error.open("execute.generic Error", err);
console.log("execute.generic: " + err);
return true;//return boolean to run service again if failure
}
};/code

It gives: typeError: undefined is not a function

Any help would be appreciated. I've had this problem in the past and someone had to go fix it in the project source. It seems to be a problem when new updates come out, but I've never really been told the real problem for sure.


Generic Service Not Defined

Posted: Sun Apr 13, 2014 2:32 pm
by Alena Prykhodko

Hello,

Please try now. Let us know the result.


Generic Service Not Defined

Posted: Thu Apr 17, 2014 4:34 pm
by Kapow36

I get the same error.


Generic Service Not Defined

Posted: Fri Apr 18, 2014 12:37 am
by Illya Stepanov

Hi -

Please specify steps to reproduce the problem and we will take a look.

Regards.


Generic Service Not Defined

Posted: Fri Apr 18, 2014 3:54 am
by Kapow36

The information I need to give you will require some usernames and passwords. The data is not real, but I would rather not publish that info, can I email the steps to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a?


Generic Service Not Defined

Posted: Fri Apr 18, 2014 4:04 am
by Illya Stepanov

Sure, mail it to us directly.


Generic Service Not Defined

Posted: Fri May 02, 2014 7:00 am
by Kapow36

Fixed...
Turns out radio groups and checkbox groups don't work for jquery mobile 1.4 because of a bug