Inconsistent behaviour across different OE versions

Posted by oeink on 10-Jan-2019 05:53

Hi,

We have a webspeed web application running on different OE versions. The application running on 10.2B has HTML code in .p, the application running on 11.7 uses Kendo UI in place of HTML. One of the screens has a browse to create records. For reasons unknown, they have a blank record in the table. When we try to save another blank record, we get the error 132 (** <file-name> already exists with <field/value...>) as expected. But the behaviour of how the error is displayed is different.

Now, the code is as follows:

ASSIGN FRAME <FrameName> <FIELDS> NO-ERROR.

IF ERROR-STSTUS:ERROR THEN DO:

<error handling code>

END.

In the 11.7 version, the error-status is not being set to error, it continues with the execution, but the transaction will fail and error 132 is recorded in the log file.

In the 10.2B version, the error-status is being set to error, and we get a pop up message with the error 132.

Now, if we just say "ASSIGN <FIELDS> NO-ERROR." in both the versions the error is being recorded in the log file, no pop up messages. But with "ASSIGN FRAME" statement, the behaviour is different.

Is this behaviour due to the difference in the OE versions?

Thanks in Advance.

All Replies

This thread is closed