infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Cloverleaf
Sanity Check - Is this a bug Source empty gives xlateInVals variable not found.
Jim Kosloskey
Cloverleaf 2209.
In an xltp type Tcl proc, I am upvaring xlateInVals (and other objects) as normal, then checking xlateInVals to see if it is empty by using llength and I get no variable defined error for xlateInVals when indeed the Source is empty in the Xlate Action invoking the proc.
I thought when the Source was empty xlateInVals would be null and llength of a null variable would result in zero - not the variable undefined.
Is this a bug or has it always been this way? I don't recall it being this way in past releases of Cloverleaf.
If someone is on an older release of Cloverleaf and could verify the Source empty results in xlateInVals null not 'variable not defined condition' that would help determine if this is potentially a bug in 2209 and help me check my sanity.
Find more posts tagged with
Clovertech
Comments
Charlie Bursell
Variables in Xlate are NOT Tcl variables.
Jim Kosloskey
Interestingly, when I do the same activity for xlateInList all is as expected. This leads me to suspect that when the Source is empty, there is no xlateOutVals to upvar.