Page 2 of 3

storage models and array

Posted: Mon Oct 20, 2014 2:45 pm
by Michael4771079

update.

Hi,
my js was wrong, I corrected it as in scereenshot

Image

I still get the same error c15r,

I also removed the js with the same result,

before upgrade at weekend I did not get this error, I was getting the panel populated with all fav properties in the localStorage

thanks


storage models and array

Posted: Mon Oct 20, 2014 5:00 pm
by Kateryna Grynko

Hi Michael,

1) You use an incorrect JavaScript code. If favprop_id is an array then you should parse it (JSON.parse) and use indexOf https://developer.mozilla.org/en-US/d...

2) Regarding error c15r could you please post a public link and steps to reproduce it?


storage models and array

Posted: Mon Oct 20, 2014 5:18 pm
by Kateryna Grynko

Hi Michael,

Or it would be even better if you could share the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a


storage models and array

Posted: Mon Oct 20, 2014 5:49 pm
by Michael4771079

Hi Kateryna,
Ok I have read the link but I dont follow infact im a bit lost :(
I was following advice offered earlier.

I am working with 2 arrays "favprop_id" (contains 5 property _ids)
and "favsdb" array which contains all five properties details

my intention was to delete a property_id from "favprop_id" when the more button is clicked so as I could print this property and hide the rest.
anything else you can direct me to is much appreciated.

As regards error
app name easilet, GUID a4e9c51c-e1f8-455b-810f-c2867a3a2388 and is shared with support.
login and pass "q"
when menu opens click search rentals, click favourite list, when panel opens click any of the collapsibles to expand and click the more button, when other panel opens the error occurs.

thanks


storage models and array

Posted: Mon Oct 20, 2014 5:49 pm
by Michael4771079

storage models and array

Posted: Tue Oct 21, 2014 9:27 pm
by Michael4771079

Hi Kateryna,
I suspect theres no news here, but I have the same issue plus another all over another published app, screenshots attached

Image

Image

guid, b7b246e8-9d02-48d1-9e52-d67377bad116
app is shared, TGF Pizzeria,
login & pass with "a" click new order, click any page from menu errors on page load


storage models and array

Posted: Wed Oct 22, 2014 5:57 pm
by Kateryna Grynko

Hi Michael,

Sorry for a delay, we are working on it.


storage models and array

Posted: Wed Oct 22, 2014 5:59 pm
by Michael4771079

Thanks for the headsup Kateryna


storage models and array

Posted: Thu Oct 23, 2014 12:08 pm
by Evgene Karachevtsev

Hello Michael,

About the project Easilet.
The problem is that you've added to the marker on the map label and make the mapping in this label (this is mobilelabel_633).
This seems to be a bug, this mapping causes an error, if you'll take it away, then the mapping will work.
Also there is in your code
preif (value.favprop_id != localStorage.getItem("favprop_idFilter"))/pre
However, I don't see that you've filled this local storage variable anywhere, please check the logic of the application.


storage models and array

Posted: Thu Oct 23, 2014 1:37 pm
by Michael4771079

Hi,
I have removed the mapping for the map and now the service is printing.
Any idea when this map bug will be fixed?

On easilogin complete callfavs is invoked and all property ids are saved in lsv favprop_id, see screenshot

I deleted one of these ids manually from localstorage and click the more button, the result is all properties in the array favsdb are printed, the code does not seem to filter the result

if (value.favprop_id != localStorage.getItem("favprop_idFilter"))

Image

Image