[SOLVED] Index was outside the bounds of the array - Table content curtailed

velociphiles

Client
Регистрация
31.07.2012
Сообщения
12
Благодарностей
13
Баллы
0
There are a couple of other threads on this but I have dug a bit deeper and found a possible bug.

When running a project I received the index was outside of bounds error.

Traced this to a table that I load into the project with my login profiles (login, password) and select a random line and then delete it.

The table has 32 rows. I was asking ZP to post 30 times.

When I looked at the table it only had 14 rows - which explains the error. Zenno is selecting a random number to pick from the array (1-30) but there are only 14 entries.

Tried recreating the table, closing and restarting ZP and Project Maker - no effect.

Eventually created a new project with no content and a new table with some dummy content (32 rows of it).

Open the project in project maker, then open the table and it has only pulled in the first 14 rows - why?

Attached 60 second video shows what happens:

http://screencast.com/t/mUdTo8cQX6Nb
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 719
Баллы
113
You're talking about table preview.
IT is just preview to check work of separators.
No need to display whole table there )
Someone use 100000 lines in their tables)
 
  • Спасибо
Реакции: velociphiles

velociphiles

Client
Регистрация
31.07.2012
Сообщения
12
Благодарностей
13
Баллы
0
Oh bother!

Thanks for quick reply - never thought of that.

Tried changing the "select random" to "select first line" and that seems to work OK.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 719
Баллы
113

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)