Page 1 of 2

Variable names getting lost in Service Mapping designer UI

Posted: Wed Sep 18, 2013 10:55 pm
by Eduardo Ramos

Some of my local storage variables have been disappearing from Designer;s UI. I don't see them anymore anytime I open a service mapping, but they can be retrieved using localStorage.getitem('');

This is very confusing because I am afraid some day my code won't be maintainable anymore by having lost variables.

Could you you please let me know if this is a known issue?

Thanks

Eduardo


Variable names getting lost in Service Mapping designer UI

Posted: Wed Sep 18, 2013 11:14 pm
by Illya Stepanov

Hello Eduardo - can you tell what browser are using and it's version?


Variable names getting lost in Service Mapping designer UI

Posted: Wed Sep 18, 2013 11:20 pm
by Eduardo Ramos

Sure is google chrome: Version 29.0.1547.66 m, I just tested in Safari, and the same, some variable names are gone.


Variable names getting lost in Service Mapping designer UI

Posted: Wed Sep 18, 2013 11:26 pm
by Illya Stepanov

Thanks - can you also give a publik link or share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a? We'll test it.


Variable names getting lost in Service Mapping designer UI

Posted: Wed Sep 18, 2013 11:27 pm
by Eduardo Ramos

Variable names getting lost in Service Mapping designer UI

Posted: Wed Sep 18, 2013 11:29 pm
by Eduardo Ramos

These are the missing variables:

nombreCategoriaSeleccionada

nombreZona


Variable names getting lost in Service Mapping designer UI

Posted: Thu Sep 19, 2013 3:43 am
by maxkatz

Where did you define the variables in Appery.io?


Variable names getting lost in Service Mapping designer UI

Posted: Thu Sep 19, 2013 3:46 am
by Eduardo Ramos

in one of the service implementations... they used to be there... not anymore...


Variable names getting lost in Service Mapping designer UI

Posted: Thu Sep 19, 2013 3:48 am
by maxkatz

Local storage variables are not defined in the service implementation. You can define a local storage variable in mapping or in an action.

You can also of course use the local storage API directly (via JavaScript)


Variable names getting lost in Service Mapping designer UI

Posted: Thu Sep 19, 2013 4:20 am
by Eduardo Ramos

Well, I meant to say implementation as in when you create an instance of the service definition. And yes, they were created when mapping a service. I dont need to map them directly to a service request, I am doing that through javascript, but how come they dont show in the variable list?