NetTalk Central

Author Topic: API hangs on memo field  (Read 332 times)

jlavera

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • Email
API hangs on memo field
« on: April 28, 2026, 06:31:51 AM »
I have a rest server API. Recently upgraded to NT 14.37, and all the latest versions of ST, Reflection, jFiles, etc.
There is a complex topspeed file with lot of fields and some memo fields. The API receive just a few of them, ignoring the rest.
There is generated code that does this:
DocParm:App_Rosters.SetAttribute('table',DocParm:App_Rosters.TableFieldToColumn(App_Rosters,'AppRosters:CancelDescription'),'readonly')    DocParm:App_Rosters.SetAttribute('table',DocParm:App_Rosters.TableFieldToColumn(App_Rosters,'AppRosters:CancelDescription'),'private')
And it hangs on either one.
I debugged until I found that in Reflection.clw, there is a
ReflectClass.TableFieldToColumn              Procedure(FILE pTable,String pLabel)
where this call does a loop in the "record"... but it is not counting or processing the memo fields. It looks for the field name in the structure, but it is not there, as a memo, it is not part of the structure. The result is it never ends the loop and the server hangs.

Anyone sees this? Is this a bug, or I'm missing a setting (which I cannot find)?

Kind regards,
Jorge Lavera

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11328
    • View Profile
Re: API hangs on memo field
« Reply #1 on: April 28, 2026, 08:48:54 PM »
sounds like a bug in Reflection. I'll take a look.