Consultor Eletrônico



Kbase P101109: LOAD-IMAGE method fails when using hostname in the URL of specific length
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Verified

SYMPTOM(s):

LOAD-IMAGE fails when using hostname in the URL of specific length such as 7, 11, 15 characters, etc.

The statement looks like:
<widget-name>:LOAD-IMAGE('http://INFOPOS/images/image1.jpg')

LOAD-IMAGE method for an image widget gives error:

**Unable to query attribute <attribute> for <widget id>. (4077)

**Unable to query attribute LOAD-IMAGE for IMAGE IMAGE-1. (4077)

LOAD-IMAGE method for a button widget gives error:

The file (<file-name>) for <attribute> on the <widget-id> is invalid on the current system. (206)

The file ("http://INFOPOS/images/image1.jpg") for LOAD-IMAGE on the BUTTON BUTTON-2 is invalid on the current system. (206)

Internet Explorer can read the image without problems using the same URL address.

FACT(s) (Environment):

OpenEdge 10.0A
OpenEdge 10.0B
OpenEdge 10.1A
Windows

CAUSE:

Bug# OE00113588

FIX:

Upgrade to 10.1B where this issue has been fixed,
or
if possible specify in the hosts file a different hostname mapped to the same ip address of the server
and change the URL address in the LOAD-IMAGE method accordingly.

Using IP address, or a different host name might not be possible in situation where web server
uses virtual host names in which case the only solution is to upgrade to 10.1B.