Project

General

Profile

Bug #9222

Validation of a record buffer throws an error in FWD, but does not in 4GL

Added by Artur Școlnic almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:

0%

billable:
No
vendor_id:
GCD
case_num:
version_reported:
15472
version_resolved:
reviewer:
production:
No
env_name:
topics:

History

#1 Updated by Artur Școlnic almost 2 years ago

  • Subject changed from Validation of a record buffer throws an error in FWD, but not in 4GL to Validation of a record buffer throws an error in FWD, but does not in 4GL

#2 Updated by Artur Școlnic almost 2 years ago

define temp-table tt no-undo 
   field f1 as int init 0
   field f2 as int init 0
   field f3 as int init 0
   index idx is primary unique f1.
create tt.
tt.f1 = 0.
define buffer ttbuf for tt.
create ttbuf.
validate ttbuf. // throws an error in FWD
assign
ttbuf.f2 = 1 
ttbuf.f3 = 1.
assign
ttbuf.f1 = 1.

Validation of the ttbuf after the create operation does not result in any erros in 4GL, but FWD validates it using the unique indices and throws a validation error.

#3 Updated by Artur Școlnic almost 2 years ago

This ticket is derived from #9181-10.

Also available in: Atom PDF