Consultor Eletrônico



Kbase P137754: Wrong value is returned when DECIMALS attribute is used
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/03/2009
Status: Unverified

SYMPTOM(s):

Wrong value is returned when DECIMALS attribute is used

The value being returned is 30 with 10.1x or 10.2A.


FACT(s) (Environment):

The correct value was returned with 9.1E

The value being returned is 0 with 9.1E.

All Supported Operating Systems
OpenEdge 10.0x
OpenEdge 10.1x
OpenEdge 10.2A

CAUSE:

Bug# OE00177626


CAUSE:

The problem happens when we create a decimal field with DECIMALS 0. Internally, we set the number of places to ZERODECIMALS (which is 30). When we extract this from the buffer-field, we are not checking for ZERODECIMALS, and hence return 30 instead of 0.


FIX:

Upgrade to OpenEdge 10.1C03 or later.