Kbase P145531: getDataSource returns unknown on server
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/1/2009 |
|
Status: Unverified
SYMPTOM(s):
getDataSource returns unknown on server
SmartDataObject's data source link is unavailable on the server
SDO loses parent data link on server
Cannot get ForeignFields on the AppServer
FACT(s) (Environment):
All Supported Operating Systems
Progress 9.1D
Progress 9.1E
OpenEdge 10.x
CAUSE:
This may be expected behavior. The ADM introduced the concept of a DataContainer in 9.1D which groups linked SDOs in a single request wherever it makes sense to do so, in order to avoid unnecessary trips to the AppServer.
Because of this you may be able to get the DataSource or ForeignFields from an SDO on the server side depending upon the nature of the trip. Below are the basic rules that govern when a parent SDO will be started on the server along with its children:
1) Upon initialization when data are needed for all linked SDOs
2) When the parent SDO needs a new batch of data
3) When the parent SDO is sorted and the query re-opened
Any other time the child SDO needs a batch of data it will be started alone and/or with any SDOs that are data targets.
FIX:
Use an SBO if you need to maintain context between data objects on the server. Otherwise you could gather the necessary context information on the client side prior to the request and send it over in the context string.