Bryan Novak
Posts: 0
Joined: Thu May 01, 2014 4:29 pm

More issues....

I'm in a similar boat as well. It seems like even the built in Appery bits aren't storing it correctly. I have a simple button that stores the text of a page field into a localStorage variable but all I get at the other end is "Label". I wasn't even using Javascript to set that up, I use Appery's built in variable setting (see below)
Image

Is this something that can be fixed on Appery's side or do we have to manually go and recode every single localStorage call?

Sjef Moling
Posts: 0
Joined: Thu Jan 23, 2014 10:00 am

More issues....

So, I have to change all javascripts that access local storage? That's a lot of work...

Girish Chhugani
Posts: 0
Joined: Thu Apr 17, 2014 10:18 pm

More issues....

Yep. Also, I think its more than just localstorage. There seems to be an issue with accessing elements

Girish Chhugani
Posts: 0
Joined: Thu Apr 17, 2014 10:18 pm

More issues....

Thats why hidden buttons are still showing up and can't access labels within list items. Hope it's being looked into

Sjef Moling
Posts: 0
Joined: Thu Jan 23, 2014 10:00 am

More issues....

So will appery refund to compensate the time I spend fixing this?

Eugene
Posts: 0
Joined: Mon Aug 06, 2012 12:44 pm

More issues....

$(this).find('[name=name]').text()

works well (you can check it with console.log()).
But the question is why alert() doesn't work?

I've checked all the stuff in Chrome 35 under Linux (maybe its browser or OS specific but I doubt). I'm goint to try to find what is wrong with alert (also with confirm() and prompt())

P.S. Girish, can you invoke e.g. alert("hello") from developers tools in your browser?

Girish Chhugani
Posts: 0
Joined: Thu Apr 17, 2014 10:18 pm

More issues....

Alert is not the problem. I think you guys misunderstood me. Accessing the text of the label within a dynamically generated list is. I can access texts etc everywhere else

Girish Chhugani
Posts: 0
Joined: Thu Apr 17, 2014 10:18 pm

More issues....

I think the app is being rolled back

Eugene
Posts: 0
Joined: Mon Aug 06, 2012 12:44 pm

More issues....

First, sorry for this delusion with broken alert - it's my buggy linux :)
Second, I did understand you problem with dynamic generated items handlers. The problem is the changing of behavior from our side, which is going to be fixed in the nearest hotfix.

As for workaround, you can either delete the arrow that connects "$[]name" with "itemFriendsText" or I can send you a patched version of one of our resource files and you will replace it on Source tab.

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

More issues....

Dear All,

We are going to roll back recent update. See more details here

http://blog.appery.io/2014/05/importa...

We are sorry for inconvenience.

Return to “Issues”