Branden
Posts: 0
Joined: Sun Nov 03, 2013 12:10 am

Did something change on Appery yesterday?

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!

Branden
Posts: 0
Joined: Sun Nov 03, 2013 12:10 am

Did something change on Appery yesterday?

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".

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

Did something change on Appery yesterday?

Hi Branden,

Yes, we have released hotfix yesterday.

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

Branden
Posts: 0
Joined: Sun Nov 03, 2013 12:10 am

Did something change on Appery yesterday?

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!

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Did something change on Appery yesterday?

Hi Branden,

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

Branden
Posts: 0
Joined: Sun Nov 03, 2013 12:10 am

Did something change on Appery yesterday?

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

Is there a time estimate on fixing the bug?

Branden
Posts: 0
Joined: Sun Nov 03, 2013 12:10 am

Did something change on Appery yesterday?

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.

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

Did something change on Appery yesterday?

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

Branden
Posts: 0
Joined: Sun Nov 03, 2013 12:10 am

Did something change on Appery yesterday?

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.

Return to “Issues”