Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0053891Openbravo ERPA. Platformpublic2023-11-07 13:592023-11-07 14:27
ablasco 
Triage Platform Base 
normalminorhave not tried
newopen 
5
 
 
Core
No
0053891: Triggers declared with insert, update, delete=false contains INSERTING, UPDATING, DELETING conditionals
Some triggers have a dependency code when its INSERTING, UPDATING or DELETING and it could not fire when insert, update and delete action is set to false.

ONInsert
- AD_TREENODE_TRG ( openbravo )
- C_INVOICEDISCOUNT_TRG ( openbravo )
- C_ORDERDISCOUNT_TRG ( openbravo )
- GL_JOURNAL_TRG ( openbravo )

ONDelete
- API_EVENTS_MOD_TRG ( org.openbravo.api )
- CNC_PUBLIC_EVENTS_MOD_TRG ( org.openbravo.events.core )
- OBPOS_PAYMENTMETHOD_TYPE_TRG ( org.openbravo.retail.posterminal )
- OBPOS_PRINT_TEMPLATE_MOD_TRG ( org.openbravo.retail.posterminal )
- C_BPARTNER_LOCATION_TRG ( openbravo )
- M_MATCHPO_TRG ( openbravo )
*
In VSCODE we can use regexp to check this cases.
- (insert="false"(?:.|\n)*INSERTING)
- (update="false"(?:.|\n)*UPDATING)
- (delete="false"(?:.|\n)*DELETING)
No tags attached.
Issue History
2023-11-07 13:59ablascoNew Issue
2023-11-07 13:59ablascoAssigned To => Triage Platform Base
2023-11-07 13:59ablascoModules => Core
2023-11-07 13:59ablascoTriggers an Emergency Pack => No
2023-11-07 14:27ablascoProposed Solution updated

There are no notes attached to this issue.