Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0055839Openbravo ERPA. Platformpublic2024-06-25 16:462024-06-25 16:46
guilleaer 
Triage Platform Base 
normalminorhave not tried
newopen 
5
 
 
Core
No
0055839: When creating NEW register Form Initialization component is not called under some circumstances
If a tab is not properly configured when a new line is created through ERP the FIC is not executed and default values are not set

the pieze of code which fails is here

      parentColumn = this.view.getPropertyDefinition(this.view.parentProperty)
        .inpColumn;

The call to getPropertyDefinition results in null and then an error is raised when .inpColumn is readed
configure a TAB which is connected with a table which has a parent relation without creating a field for that column.

example.

Table B has a relation with table A through the column table_a_id
create a tab for table B without a field for table_a_id
To decide by PTF

a) add checks/warnings to avoid wrong configurations
b) make the error visible to inform user about it
No tags attached.
Issue History
2024-06-25 16:46guilleaerNew Issue
2024-06-25 16:46guilleaerAssigned To => Triage Platform Base
2024-06-25 16:46guilleaerModules => Core
2024-06-25 16:46guilleaerTriggers an Emergency Pack => No

There are no notes attached to this issue.