Consultor Eletrônico



Kbase P46422: The paths of the protag is displaying on the web page
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/20/2003
Status: Unverified

SYMPTOM(s):

The paths of the protag is displaying on the web page

The .w file found to have an internal procedure to display the path as:

PROCEDURE includeThis :
/*--------------------------------------------------------------------------
----
Purpose:
Parameters: <none>
Notes:
----------------------------------------------------------------------------
--*/

define input parameter file2include as char.
define input parameter err-msg as char.

define var fullpath2file as char.
define var alineofdata as char.

{&out} "Path = " file2include "~n".
assign fullpath2file = search(file2include).

{&out} "Path2 = " fullpath2file "~n".
if fullpath2file = ? then
do:
{&out} err-msg.
end.
else
do:
input from value(fullpath2file).
repeat:
import unformatted alineofdata.
{&out} alineofdata "~n".
end.
input close.
end.
END PROCEDURE.

CHANGE:

Migrated from WebSpeed 2.1 to 3.1D

CAUSE:

The &OUT statement in the procedure file.

FIX:

Remove the &OUT statement from the procedure