Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: David H. on November 08, 2010, 01:36:05 pm



Title: Before row not fired for an empty DISPLAY ARRAY.
Post by: David H. on November 08, 2010, 01:36:05 pm
Comparing v2.11.02 to v2.21.10 we have noticed a change in behaviour with DISPLAY ARRAY when there are no rows to display. i.e:-

Code
  1.    #assuming desc_arr is empty...
  2.    DISPLAY ARRAY desc_arr TO smenu_arr.*
  3.        BEFORE DISPLAY
  4.            DISPLAY "Before Display"
  5.        BEFORE ROW
  6.            DISPLAY "Before Row"
  7.        AFTER ROW
  8.            DISPLAY "After Row"
  9.        ON KEY (F10)
  10.            EXIT DISPLAY
  11.    END DISPLAY
  12.  

With v2.11.02

Before Display
Before Row

With v2.21.10

Before Display

I don't see this mentioned in the 2.2x migration guide, so again I'm wondering if its a bug or a change in behaviour?

TIA.

David



Title: Re: Before row not fired for an empty DISPLAY ARRAY.
Post by: Reuben B. on November 08, 2010, 10:04:01 pm
Hi David,

That is 10466 https://4js.com/en/support/issue/?id=10466

Also I'm linking to our issue tracker, that has a search facilitity so plug in some keywords and you can normally find out fairly quickly if there are any public issues with particular syntax ...

 https://4js.com/en/support/issue/?id=&product=FGL&stat=&fixed_in=&words=BEFORE+ROW&Search=Search

Reuben


Title: Re: Before row not fired for an empty DISPLAY ARRAY.
Post by: David H. on November 09, 2010, 01:39:08 pm
Thanks Reuben.

I did actually try a forum search before posting but completely forgot about your issue tracker. Next time hopefully!

Cheers,

David