Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

App testing generates error

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?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

App testing generates error

Hello!

Could you clarify what is your libraries version?

Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

App testing generates error

1.0 Should I update it?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

App testing generates error

Could you try if it works with any other version?

Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

App testing generates error

same error on all versions

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

App testing generates error

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.

Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

App testing generates error

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

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

App testing generates error

Thank you, we will test and let you know.

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

App testing generates error

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.

Return to “Issues”