Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0039804 | Retail Modules | StoreServer | public | 2018-12-14 10:46 | 2018-12-17 14:55 |
|
Reporter | AugustoMauch | |
Assigned To | AugustoMauch | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | mtaal |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0039804: GenericBusinessPartnerSegmentationEventHandler throws NullPointerException if organization used to route is null |
Description | This issue [1] introduced a change that allows to specify the Organization column to be used by the GenericBusinessPartnerSegmentationEventHandler to know to what stores should a business partner be added.
The standard ad_org_id organization is not nullable, but other custom columns might be nullable. When the organization is null, the process fails and throws a NullPointerException
[1] https://issues.openbravo.com/view.php?id=39466 [^] |
Steps To Reproduce | - Create a nullable foreign key to ad_org_id in c_order (db column, ad column, ad field).
- As System Admin, open the Auto Add Business Partner to Store Tables, and update the record for c_order, by picking the new column in the Referenced Organization Column field.
- Change roles, and create an organization. The save will fail and a NullPointerException will be thrown.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-12-14 10:46 | AugustoMauch | New Issue | |
2018-12-14 10:46 | AugustoMauch | Assigned To | => AugustoMauch |
2018-12-14 10:46 | AugustoMauch | Triggers an Emergency Pack | => No |
2018-12-17 13:38 | hgbot | Checkin | |
2018-12-17 13:38 | hgbot | Note Added: 0108636 | |
2018-12-17 13:38 | hgbot | Status | new => resolved |
2018-12-17 13:38 | hgbot | Resolution | open => fixed |
2018-12-17 13:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/7e58ec2c235690880889cbdc7071eab3afe91b68 [^] |
2018-12-17 13:38 | AugustoMauch | Review Assigned To | => mtaal |
2018-12-17 13:41 | AugustoMauch | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=18045#r18045 |
2018-12-17 14:55 | mtaal | Note Added: 0108647 | |
2018-12-17 14:55 | mtaal | Status | resolved => closed |