In v 5.2.14. when I do this:
for (j in record) {
application.output( j )
}
I am getting the list of column names for the record, followed by this list of methods on the record object:
rollbackChanges
save
getPKs
setFoundset
deleteRecord
getChangedData
setException
getFoundset
getException
isEditing
I don’t believe that’s how Servoy used to behave. I believe that the variable j used to iterate only through the columns of the record object, not the methods, and now some code of mine is breaking because of this change. I have already worked around it by doing this:
databaseManager.getTable(record.foundset.getDataSource()).getColumnNames()
to get just the record’s column names, but I’m wondering if this was an intentional change in Servoy’s behavior and if so, in what version did this change first appear?
Thank you.