Openbravo Issue Tracking System - POS2
View Issue Details
0055028POS2Corepublic2024-03-21 15:052024-03-25 15:37
jarmendariz 
jarmendariz 
normalmajorhave not tried
closedfixed 
5
 
24Q2 
No
0055028: Creating a new Application in backoffice fails for a not-null constraint
When adding a new entry in the Application Window, there is an event handler (OBC2ApplicationModeEventHandler) that automatically creates a default application mode for this new Application. The default application mode is created without defining a Module, which has a not null constraint, causing the save action to fail.
See description and attached screenshot for an example of the error message
No tags attached.
caused by feature request 0054590 closed meriem_azaf Add "Application Mode" support 
png Screenshot from 2024-03-21 14-59-24.png (34,192) 2024-03-21 15:05
https://issues.openbravo.com/file_download.php?file_id=19580&type=bug
png
Issue History
2024-03-21 15:05jarmendarizNew Issue
2024-03-21 15:05jarmendarizAssigned To => jarmendariz
2024-03-21 15:05jarmendarizFile Added: Screenshot from 2024-03-21 14-59-24.png
2024-03-21 15:05jarmendarizTriggers an Emergency Pack => No
2024-03-21 15:06jarmendarizRelationship addedcaused by 0054590
2024-03-21 15:08hgbotNote Added: 0162501
2024-03-25 15:37hgbotNote Added: 0162597
2024-03-25 15:37hgbotResolutionopen => fixed
2024-03-25 15:37hgbotStatusnew => closed
2024-03-25 15:37hgbotFixed in Version => 24Q2
2024-03-25 15:37hgbotNote Added: 0162598

Notes
(0162501)
hgbot   
2024-03-21 15:08   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1425 [^]
(0162597)
hgbot   
2024-03-25 15:37   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1425 [^]
(0162598)
hgbot   
2024-03-25 15:37   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: 5e8ea17a599244deaea27476f166a7d545443db1
Author: Javier Armendáriz <j.armendariz@orisha.com>
Date: 25-03-2024 14:36:21
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/5e8ea17a599244deaea27476f166a7d545443db1 [^]

Fixed ISSUE-55028: Setting Application's module as the associated module for the automatically created Application Mode

---
M src/org/openbravo/core2/event/OBC2ApplicationModeEventHandler.java
---