fix(LocalRepository): prevent failing for instances initialized from an empty array
Data fields should be assigned based on fieldList for such case to prevent errors like Using of attribute that not in fieldList is not allowed
Produce the error:
await UB.LocalRepository([], 'frm_Attribute').attrs('code', 'caption').orderBy('caption').selectSingle()
Edited by Mazur Volodymyr