It looks like ORDA may be 99.9% reliable, just like 4D SQL.
I just had my first random, no explanation runtime error from a method I
converted from SQL to ORDA. The code has been live for a day and a half - looks
like it failed sometime early in day 2.
The code:
C_TEXT($0;$tManufacturer)
C_TEXT($1;$tItemID)
$tItemID:=$1
$tManufacturer:=""
C_OBJECT($oEntitySelection)
$oEntitySelection:=ds.Inventory.query("ItemID=:1";$tItemID) <-- runtime error
occurred here
If ($oEntitySelection.length>=1)
$tManufacturer:=$oEntitySelection.first().Manufacturer
End if
$0:=$tManufacturer
It failed on the $oEntitySelection:= line with this cryptic message:
Error code: 1806 (dbmg)
URL is not well formed
component 'dbmg'
Error code: 1806 (dbmg)
Error code: 801 (xbox)
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************