Page 1 of 2

Getting error when invoking service "invalid ObjectId [aktID]"...

Posted: Thu Apr 11, 2013 12:17 am
by gonadn

Hi

This is wierd, when i run my app in Crome, i dont get this error message, insted i only get one item from response wich is wrong, i shoud get all aktivities listed up. It was working until i setup another service with the same structure, and both services are getting the same error message in firebug. But both are working in Crome and listing only one item from the response.....

What is happening here?

I have checked my services, i tested them and every thing is OK with the services. But when invoking them i think somethin wierd happen....

I have also dobbel checked my service response mappings.... Image


Getting error when invoking service "invalid ObjectId [aktID]"...

Posted: Thu Apr 11, 2013 12:26 am
by gonadn

Now it star working again, i just deleted all history on Crome and Firefor, Coockies..., and tested and every thin start working again... :)

I think it was something to do with coockies and history of the browsers....???!


Getting error when invoking service "invalid ObjectId [aktID]"...

Posted: Thu Apr 11, 2013 12:37 am
by Illya Stepanov

Hi - Could be it. Glad it's working!


Getting error when invoking service "invalid ObjectId [aktID]"...

Posted: Thu Apr 11, 2013 12:43 am
by gonadn

sorry, i was maybe litle fast with posting that it is working...., still something is not as it shoud be. When i clear all history and coockies in firefox/Crome, and run my app in tiggzi browser, and first time i go to the page "Priser" or "Timeplan", services are invoked and listing all items from the response, and when i click on one of the list items it navigate to "Details" page and render the correct response data. But when i hit back button so it navigate back to the first page "Priser" it only show / render one item from the response and not all items...(Aktiviteter)...

Iam sharing my project with support, if you want it to take a look at it....


Getting error when invoking service "invalid ObjectId [aktID]"...

Posted: Thu Apr 11, 2013 12:46 am
by gonadn

Ref to my earlier post here: https://getsatisfaction.com/tiggzi/to...

Similar problom....


Getting error when invoking service "invalid ObjectId [aktID]"...

Posted: Thu Apr 11, 2013 12:48 am
by Illya Stepanov

Yes please, we'll take a look at it.


Getting error when invoking service "invalid ObjectId [aktID]"...

Posted: Thu Apr 11, 2013 12:57 am
by gonadn

i shared it with support, i so close to get finish with my first app, and ready for submitting it apple store....! i just have to test every thing first...in tiggzi browser, run app from VS, and then on my device before i submit it...so i appriciate every help i can get...


Getting error when invoking service "invalid ObjectId [aktID]"...

Posted: Thu Apr 11, 2013 1:05 am
by gonadn

And one more thing, nothing is working when i run my project in visual studio, seem like services are not invoking as they shoud. in my early post i had the same problom runing my project in VS. And the fix was space in my service URL. And this time i have checked that it is no space in my service URL....


Getting error when invoking service "invalid ObjectId [aktID]"...

Posted: Thu Apr 11, 2013 1:07 am
by Illya Stepanov

OK! But we will need time too, to check everything is working.


Getting error when invoking service "invalid ObjectId [aktID]"...

Posted: Thu Apr 11, 2013 1:12 am
by gonadn

its ok, iam going to bed, it is 0300 at morning here in norway :) time to sleep, but i will be back tomorow.

Last thing i find out is that, when i hit back button from details page, the page is rendering the selected item i click on first insted of rendering all items...