Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Service error: Object [object Array] has no method 'replace'

Hi, most likely this Thursday.

Bożena Garbińska
Posts: 0
Joined: Tue Nov 26, 2013 5:33 pm

Service error: Object [object Array] has no method 'replace'

Hi again,
Well, a WEEK indeed looks like "all the time in the world" to me...
Can any changes be made to the app while waiting for you to get it fixed?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Service error: Object [object Array] has no method 'replace'

Hello! I'm sorry for delay with resolving this. Yes, you can make changes to app, but I'll double check with developer and let you know.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Service error: Object [object Array] has no method 'replace'

Any changes you do in editor will be saved. After fix you'll be able to see them on preview.

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Service error: Object [object Array] has no method 'replace'

Hi Maryna,
Thank you very much for your update.
Regards

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Service error: Object [object Array] has no method 'replace'

Looks like the problem is "set property" action for image from local storage variable. As a workaround please try to delete this action and instead use Run JS action with the following code: presetAttribute_('startScreen_mobileimage_5', 'src', localStorage.getItem('local_storage_var'));/pre
startScreen - screen name
mobile_image_5 - image name

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Service error: Object [object Array] has no method 'replace'

Hello Maryna,
Are you sure this post refers to my problem?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Service error: Object [object Array] has no method 'replace'

Sorry, do you have "set property" action for image from local storage variable on "Add article" popup screen in '3mamcukier' project?

Adam Garbinski
Posts: 0
Joined: Sat Sep 28, 2013 5:33 pm

Service error: Object [object Array] has no method 'replace'

Sorry, my bad. I didn't get it.
Yes, after removing that action app IS WORKING again, I mean the web tester is working fine now. Your code was also did the job. Thanks Maryna :-)

Well I guess we can get back to the issue I have reported at the very beginning - the update query that WORKS on web tester but DOES NOT WORK on mobile testers, both on iOS, and ANDROID.

Just a quick reminder:

Mapping called like this:

"restservice_Artrequest_update"

This mapping is based on the following REST service:

"foodDB_Art_requests_update_service"

Return to “Issues”