Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0058048 | Openbravo ERP | A. Platform | public | 2025-02-21 12:35 | 2025-02-24 09:26 | |||||||
Reporter | cberner | |||||||||||
Assigned To | cberner | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | PR25Q2 | ||||||||||
Merge Request Status | approved | |||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0058048: Standard process definition throws error when having selector with datasource as field | |||||||||||
Description | In a Process Definition (marked as Standard), it is possible to define several fields. If one of those fields has a reference to a Defined Selector that doesn't have a table, but uses a DataSource instead, the UI fails to load with a freemarker error, and in the tomcat log a NullPointerException is thrown. | |||||||||||
Steps To Reproduce | In a pos2 environment for simplicity: 1. Login backoffice and select System Admin role 2. Go to Process definition and select "Direct Process Import Entries" 3. In subtab Parameter, add a new entry 3.1. Module: Any module in development, if non, set one from Module window 3.2. Name: Application 3.3. DB Column Name: application 3.4. Reference: OBUISEL_Selector Reference 3.5. Reference Search Key: "Application or Any" 3.6. Save 4. Logout and login back again with System Admin 5. Execute process "Direct Process Import Entries" Check that an error is thrown. As in the provided screenshot. | |||||||||||
Proposed Solution | Where we're checking for the table, we should ignore that check if no table is defined but a DataSource is provided. | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=20951&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2025-02-21 12:35 | cberner | New Issue | ||||||||||
2025-02-21 12:35 | cberner | Assigned To | => Triage Platform Base | |||||||||
2025-02-21 12:35 | cberner | File Added: error-selector.png | ||||||||||
2025-02-21 12:35 | cberner | OBNetwork customer | => No | |||||||||
2025-02-21 12:35 | cberner | Modules | => Core | |||||||||
2025-02-21 12:35 | cberner | Triggers an Emergency Pack | => No | |||||||||
2025-02-21 12:35 | cberner | Assigned To | Triage Platform Base => cberner | |||||||||
2025-02-21 12:35 | cberner | Status | new => scheduled | |||||||||
2025-02-21 13:04 | hgbot | Merge Request Status | => open | |||||||||
2025-02-21 13:04 | hgbot | Note Added: 0176019 | ||||||||||
2025-02-21 13:56 | hgbot | Merge Request Status | open => approved | |||||||||
2025-02-24 09:26 | hgbot | Note Added: 0176063 | ||||||||||
2025-02-24 09:26 | hgbot | Resolution | open => fixed | |||||||||
2025-02-24 09:26 | hgbot | Status | scheduled => closed | |||||||||
2025-02-24 09:26 | hgbot | Fixed in Version | => PR25Q2 | |||||||||
2025-02-24 09:26 | hgbot | Note Added: 0176064 | ||||||||||
2025-02-27 08:06 | alostale | Relationship added | related to 0058089 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|