Known issues with RESTClient

RESTClient object has changed the declaration of its Retrieve function, from "By reference" in 2017 R2 to "By value" in 2017 R3, therefore, you might need to do the following in order for the source code to work properly after migrated from R2 to R3.

  • If you have overloaded the RESTClient Retrieve function in your source code, make sure you manually remove the "ref" declaration and then full build the source code.

  • If you have called the RESTClient Retrieve function but not overloaded it in your source code, make sure you full build the source code after migrated from R2 to R3.

The following table lists the RESTClient Retrieve function declaration in 2017 R2 and R3. Note that there is no "ref" declaration in 2017 R3.

Retrieve Function Definitions in 2017 R2

Retrieve Function Definitions in 2017 R3

public function long retrieve (ref datastore ds, string urlname)

public function long retrieve (ref datastore ds, string urlname, blob data)

public function long retrieve (ref datastore ds, string urlname, string data)

public function long retrieve (ref datawindow dw, string urlname)

public function long retrieve (ref datawindow dw, string urlname, blob data)

public function long retrieve (ref datawindow dw, string urlname, string data)

public function long retrieve (datastore ds, string urlname)

public function long retrieve (datastore ds, string urlname, blob data)

public function long retrieve (datastore ds, string urlname, string data)

public function long retrieve (datawindow dw, string urlname)

public function long retrieve (datawindow dw, string urlname, blob data)

public function long retrieve (datawindow dw, string urlname, string data)