Page 1 of 1

App testing generates error

Posted: Mon Apr 14, 2014 1:35 pm
by Sean Kelley

Hi
I have not accessed the appery site in 2-3 months. I self host exported copy. I started to test app for anything that recent appery updates may have broken and came up with the following error:
Uncaught Error: cannot call methods on listview prior to initialization; attempted to call method 'refresh'

My app lists appery db results in list. When the list loads there is no obvious problem but the console shows error on line 163 in my generated page:

newestHorses1 = new Apperyio.DataSource(new_horses_list_service, {
'onBeforeSend': function(jqXHR) {

Code: Select all

     }, 
     'onComplete': function(jqXHR, textStatus) { 

         Apperyio.refreshScreenFormElements("newesthorses"); //line 163 
     }, 

If I click a next button to show next set (I show 5 list items at a time), the spinner does not go away but items are clickable.

Is this an appery bug, or is there something I can do to fix it?


App testing generates error

Posted: Mon Apr 14, 2014 2:37 pm
by Maryna Brodina

Hello!

Could you clarify what is your libraries version?


App testing generates error

Posted: Mon Apr 14, 2014 2:43 pm
by Sean Kelley

1.0 Should I update it?


App testing generates error

Posted: Mon Apr 14, 2014 2:59 pm
by Maryna Brodina

Could you try if it works with any other version?


App testing generates error

Posted: Mon Apr 14, 2014 3:13 pm
by Sean Kelley

same error on all versions


App testing generates error

Posted: Mon Apr 14, 2014 8:38 pm
by Maryna Brodina

We would need to check your app, please share it with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and post steps to reproduce.


App testing generates error

Posted: Mon Apr 14, 2014 9:03 pm
by Sean Kelley

it's shared:
https://appery.io/app/projects/2d17c8...

test by clicking "Horses" button or "Saddles" button
http://appery.io/app/view/2d17c8b8-6c...


App testing generates error

Posted: Mon Apr 14, 2014 9:19 pm
by Maryna Brodina

Thank you, we will test and let you know.


App testing generates error

Posted: Tue Apr 15, 2014 3:34 am
by Illya Stepanov

Hi Sean -

Sorry it is a bug. We have reported it yesterday.

It appears when grid mapped to the array and there is a list inside this grid.

Our developers know about this issue and working on it.

We will keep you posted.

Regards.