Is this a regression?
Yes
Severity
π Major β significantly affects usability
Please provide the branch(es) you discovered this issue in
v92
Environment Details
v9.2.2, with latest code from v92 branch
Please provide a minimal set of steps to reproduce the issue
When you try to select a reference user (New Requests -> Producty by reference user) you receive an exception "Error: Column UID_Person not found.".
Description
You refactored the getKey method to new file edit-fk.model.ts.
If you compare the code to the previous one, you will notice that the try-catch-block around for
const parentColumn = entity.GetColumn(fkRelations[0].ColumnName);
if (parentColumn) {
return parentColumn.GetValue();
}
is missing.
But GetColumn throws an Exception if the column isn't existing.
ReadWriteEntity.prototype.GetColumn = function (columnName) {
var c = this.localColumns[columnName] || this.columns[columnName];
if (c == null)
throw new Error("Column ".concat(columnName, " not found."));
return c;
};
Describe what you expected to happen versus what actually happened
Selecting a reference user should work ;-)
Relevant logs or console output
classlogger.service.ts:100 2026-04-02T08:29:35.950Z ERROR [main.js:2459] Error: Column UID_Person not found.
at ReadWriteEntity.GetColumn (imx-qbm-dbts.es5.js:8713:19)
at getKey (edit-fk.model.ts:10:33)
at fk-advanced-picker.component.ts:110:22
at Array.map (<anonymous>)
at FkAdvancedPickerComponent.applySelection (fk-advanced-picker.component.ts:107:30)
at FkAdvancedPickerComponent.selectObject (fk-advanced-picker.component.ts:88:10)
at FkAdvancedPickerComponent_Template_imx_fk_selector_elementSelected_2_listener (fk-advanced-picker.component.html:4:26)
at executeListenerWithErrorHandling (core.mjs:15679:16)
at Object.wrapListenerIn_markDirtyAndPreventDefault [as next] (core.mjs:15714:22)
at SafeSubscriber.__tryOrUnsub (Subscriber.js:183:16)
Add a screenshot(s) if that helps illustrate the problem
No response
Suggested Fix
Add try-catch around the mentioned part of code.
Anything else?
No response
Before submitting...
Is this a regression?
Yes
Severity
π Major β significantly affects usability
Please provide the branch(es) you discovered this issue in
v92
Environment Details
v9.2.2, with latest code from v92 branch
Please provide a minimal set of steps to reproduce the issue
When you try to select a reference user (New Requests -> Producty by reference user) you receive an exception "Error: Column UID_Person not found.".
Description
You refactored the getKey method to new file edit-fk.model.ts.
If you compare the code to the previous one, you will notice that the try-catch-block around for
is missing.
But GetColumn throws an Exception if the column isn't existing.
Describe what you expected to happen versus what actually happened
Selecting a reference user should work ;-)
Relevant logs or console output
classlogger.service.ts:100 2026-04-02T08:29:35.950Z ERROR [main.js:2459] Error: Column UID_Person not found. at ReadWriteEntity.GetColumn (imx-qbm-dbts.es5.js:8713:19) at getKey (edit-fk.model.ts:10:33) at fk-advanced-picker.component.ts:110:22 at Array.map (<anonymous>) at FkAdvancedPickerComponent.applySelection (fk-advanced-picker.component.ts:107:30) at FkAdvancedPickerComponent.selectObject (fk-advanced-picker.component.ts:88:10) at FkAdvancedPickerComponent_Template_imx_fk_selector_elementSelected_2_listener (fk-advanced-picker.component.html:4:26) at executeListenerWithErrorHandling (core.mjs:15679:16) at Object.wrapListenerIn_markDirtyAndPreventDefault [as next] (core.mjs:15714:22) at SafeSubscriber.__tryOrUnsub (Subscriber.js:183:16)Add a screenshot(s) if that helps illustrate the problem
No response
Suggested Fix
Add try-catch around the mentioned part of code.
Anything else?
No response
Before submitting...