Brett Gregory
Posts: 0
Joined: Thu Aug 21, 2014 2:33 pm

After Appery Update: Parts of app not working

After the recent update appery made some of my app stopped working. This part is the only part i cant seem to get working again, please help me fix it. It was working fine before the updat.

Okay, so what happens is the user has submitted a workout and they have the option to view their past workout. The past workouts are displayed by the date they were entered. Once they click on a specific date they are taken to a page that gives more detail about that submission. It seems as if the problem is that the WorkoutID is not getting any value, and as a result is messing up the read_service that displays more information about that specific submission. WorkoutID is suppose to get its value as the user clicks on a certain date in the list component.

This is how the UI looks that displays the past submissions (displays only its date)
Image

These are all that pages services:
Image

This is the service mapping for displaying all previous submissions:
Image

Image

Image

This is the UI that displays more information about the chosen submission:

Image

Service mapping for that UI:

Image

Image

Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

After Appery Update: Parts of app not working

Hello Brett,

It's hard to say yet, everything seems to be correct. Could you please clarify, have you checked what goes in and what does service return? http://devcenter.appery.io/documentat...
Could you also show a screenshot of the test window - what is there as a result?

Brett Gregory
Posts: 0
Joined: Thu Aug 21, 2014 2:33 pm

After Appery Update: Parts of app not working

These are all the past submissions:

Image

This is the page that is suppose to show more information about a selected submission, however it isnt displaying anything. The "undefined" text displayed in the label is suppose to be the WorkoutID. I tried to just display the WorkoutID to see if it was at least assigning the variable, but it seems as if it isnt.

Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

After Appery Update: Parts of app not working

Brett,

Please detail, are there any errors in console? If they are, please try to delete it. Otherwise please give us public link to your project and steps to reproduce.

Brett Gregory
Posts: 0
Joined: Thu Aug 21, 2014 2:33 pm

After Appery Update: Parts of app not working

i dont know how to do any of those things.

I tried doing that console thing, dont know if i did it right.
This is what i got.

Image

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

After Appery Update: Parts of app not working

Brett,

Could you send us public link to your application and steps how to reproduce the issue.
http://docs.appery.io/documentation/s...

Brett Gregory
Posts: 0
Joined: Thu Aug 21, 2014 2:33 pm

After Appery Update: Parts of app not working

http://appery.io/app/mobile-frame?src...

Okay steps:
1) click personal use
2) Login username:erica_1 password:1234
3)open the panel by clicking button in top left corner
4) click progress
5) click past submissions
6) Past workouts
then you will be at the page that displays all the past submissions. Click on anyone, and you should be directed to a more detailed page.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

After Appery Update: Parts of app not working

Hi Brett,

In your app you use on "item" click following JS code:

pre

localStorage.setItem("WorkoutID", $(this).attr("WorkoutID"));

/pre

Please replace it with following one:

pre

localStorage.setItem("WorkoutID", $(this).closest('[WorkoutID]').attr("WorkoutID"));

/pre

That's all.

Regards.

Brett Gregory
Posts: 0
Joined: Thu Aug 21, 2014 2:33 pm

After Appery Update: Parts of app not working

Thank you so much!!!!

Return to “Issues”