Eduardo Ramos
Posts: 0
Joined: Fri Sep 06, 2013 10:20 pm

Variable names getting lost in Service Mapping designer UI

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Variable names getting lost in Service Mapping designer UI

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

Eduardo Ramos
Posts: 0
Joined: Fri Sep 06, 2013 10:20 pm

Variable names getting lost in Service Mapping designer UI

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Variable names getting lost in Service Mapping designer UI

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.

Eduardo Ramos
Posts: 0
Joined: Fri Sep 06, 2013 10:20 pm

Variable names getting lost in Service Mapping designer UI

These are the missing variables:

nombreCategoriaSeleccionada

nombreZona

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Variable names getting lost in Service Mapping designer UI

Where did you define the variables in Appery.io?

Eduardo Ramos
Posts: 0
Joined: Fri Sep 06, 2013 10:20 pm

Variable names getting lost in Service Mapping designer UI

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Variable names getting lost in Service Mapping designer UI

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)

Eduardo Ramos
Posts: 0
Joined: Fri Sep 06, 2013 10:20 pm

Variable names getting lost in Service Mapping designer UI

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?

Return to “Issues”