Page 1 of 3

Did something change on Appery yesterday?

Posted: Sun Nov 17, 2013 12:50 am
by Branden

I feel bad asking this, but I'm really at a loss.

I was at a certain point in my app... it was doing what I was expecting it to do two nights ago. I then signed off, and opened up my app a short while ago to continue work.

But it's no longer working. I'm now getting this error:

"TypeError Object [object Array] has no method 'replace' VM5026:245"

I can troubleshoot and attempt to figure out what the problem is... but I'm a bit concerned that this DID work a couple nights ago, and nothing has changed on my end that I'm aware of.

Then I noticed this tweet posted by Appery yesterday: "We will be right back, we are pushing some new features out! Log in will not be available for the next 50 minutes."

What features did you push? Is there any possibility that these new features could cause a conflict?

Thank you very much!


Did something change on Appery yesterday?

Posted: Sun Nov 17, 2013 1:00 am
by Branden

I think I'm beginning to understand what's wrong... My localStorage array is no longer updating correctly. This is causing a fundamental problem with the app.

The array is created on a page that I haven't touched/modified for many days. Seems very odd to me that it would suddenly "break".


Did something change on Appery yesterday?

Posted: Sun Nov 17, 2013 1:19 am
by Illya Stepanov

Hi Branden,

Yes, we have released hotfix yesterday.

Can you clarify how exactly you are updating array in localStorage?


Did something change on Appery yesterday?

Posted: Sun Nov 17, 2013 1:37 am
by Branden

Thank you for your prompt reply. You are always so quick! :)

I have a dynamically generated list of checkboxes on page with a button. When the button is clicked, it executes code to capture the labels of the checkboxes, and puts them into an array in localStorage. Here is the code I used:

var charArr = $('input:checkbox').serializeArray();
localStorage.setItem('charInitArray', JSON.stringify(charArr));

This worked fine until today. Instead of capturing the label for each checkbox, it only captures the first label and repeats it over and over for each checkbox.

For example:

Suppose I have checkboxes labeled like the following:

Foo
Bar
Bat

It USED to save to localStorage like this:
[{"name":"checkbox_1","value":"Foo"},{"name":"checkbox_2","value":"Bar"},{"name":"checkbox_3","value":"Bat"}]

But NOW it does this:
[{"name":"checkbox_1","value":"Foo"},{"name":"checkbox_2","value":"Foo"},{"name":"checkbox_3","value":"Foo"}]

I have no idea what it started to do this...

Thanks!


Did something change on Appery yesterday?

Posted: Sun Nov 17, 2013 10:39 am
by Alena Prykhodko

Hi Branden,

Seems to be a bug, will be fixed, we'll let you know.


Did something change on Appery yesterday?

Posted: Sun Nov 17, 2013 1:51 pm
by Branden

Ah, okay. Good to know I'm not crazy. :-)

Is there a time estimate on fixing the bug?


Did something change on Appery yesterday?

Posted: Sun Nov 17, 2013 3:24 pm
by maxkatz

Did something change on Appery yesterday?

Posted: Sun Nov 17, 2013 3:54 pm
by Branden

You sent me a link to a post of another person experiencing a similar problem... But there's no resolution or time estimate posted there.


Did something change on Appery yesterday?

Posted: Sun Nov 17, 2013 4:27 pm
by maxkatz

I'm sorry, I thought it was the same issue. Can you share your service?


Did something change on Appery yesterday?

Posted: Sun Nov 17, 2013 4:42 pm
by Branden

I believe it is the same issue. But no solution or explanation is provided in that link... just a confirmation that someone else is experiencing the issue.