There seems to be a problem with the conversion of System.String object containing data longer than the CHARACTER limit, even though the parameter is a LONGCHAR.
We are getting this error;
SYSTEM ERROR: copdtm - maxdlen, data item too large, try to increase -s. (65)
So the method signature looks like this;
SomeMethod(INPUT lcVar AS LONGCHAR).
Being called this way;
THIS-OBJECT:SomeMethod(someDotNetObject:StringProperty). - StringProperty contains more than 32K chars
Will this ALWAYS work;
DEF VAR lcTemp AS LONGCHAR NO-UNDO.
lcTemp = someDotNetObject:StringProperty.
THIS-OBJECT:SomeMethod(lcTemp).
A bug report was created.
Showed up in the PANS this morning:
http://knowledgebase.progress.com/articles/Article/000038082?popup=true
This issue has been resolved in the 11.3 and 11.2.1 code streams.
Thanks for bringing this issue to our attention.