Consultor Eletrônico



Kbase P131980: Dynamics error messages in database triggers are no longer reported correctly
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/03/2010
Status: Verified

SYMPTOM(s):

Table has database triggers defined

Database trigger procedures include standard Dynamics code

Trigger procedures raise error messages using error-message API

Client displays generic "update cancelled" message instead of message specified in trigger

FACT(s) (Environment):

OpenEdge Language Category: ADM
OpenEdge 10.1C
All Supported Operating Systems
Dynamics

CHANGE:

Upgraded from 10.1B03 to 10.1C

CAUSE:

Bug# OE00169542

CAUSE:

It can be seen whenever a database trigger calls the error-message API.

FIX:

Upgrade to OpenEdge 10.1C02 or later
Upgrade to OpenEdge 10.2A or later

Workaround:
In the database trigger code, change the call to the error-message API from:

RUN error-message (lv-errgrp, lv-errnum, lv-include).

to:

RUN error-message (lv-errgrp, lv-errnum, lv-include) NO-ERROR.
RETURN ERROR RETURN-VALUE