Page 1 of 1

After Appery Update: Parts of app not working

Posted: Thu Oct 09, 2014 5:26 am
by Brett Gregory

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


After Appery Update: Parts of app not working

Posted: Thu Oct 09, 2014 6:13 am
by Evgene Karachevtsev

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?


After Appery Update: Parts of app not working

Posted: Thu Oct 09, 2014 6:26 am
by Brett Gregory

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


After Appery Update: Parts of app not working

Posted: Thu Oct 09, 2014 11:50 am
by Evgene Karachevtsev

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.


After Appery Update: Parts of app not working

Posted: Thu Oct 09, 2014 12:27 pm
by Brett Gregory

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


After Appery Update: Parts of app not working

Posted: Thu Oct 09, 2014 1:52 pm
by Evgene Karachevtsev

Brett,

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


After Appery Update: Parts of app not working

Posted: Thu Oct 09, 2014 3:42 pm
by Brett Gregory

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.


After Appery Update: Parts of app not working

Posted: Sun Oct 12, 2014 9:48 pm
by Yurii Orishchuk

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.


After Appery Update: Parts of app not working

Posted: Mon Oct 13, 2014 5:46 am
by Brett Gregory

Thank you so much!!!!