Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: David Heydon on November 08, 2010, 01:36:05 PM

Title: Before row not fired for an empty DISPLAY ARRAY.
Post by: David Heydon 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 (genero) Select

    #assuming desc_arr is empty...
    DISPLAY ARRAY desc_arr TO smenu_arr.*
        BEFORE DISPLAY
            DISPLAY "Before Display"
        BEFORE ROW
            DISPLAY "Before Row"
        AFTER ROW
            DISPLAY "After Row"
        ON KEY (F10)
            EXIT DISPLAY
    END DISPLAY


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 Barclay 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 Heydon 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