Openbravo Issue Tracking System - Openbravo ERP  | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0044270 | Openbravo ERP | A. Platform | public | 2020-06-03 09:40 | 2022-02-01 07:24 | |||||||
| Reporter | cberner | |||||||||||
| Assigned To | Triage Platform Base | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
| Status | new | Resolution | open | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | |||||||||||
| Merge Request Status | ||||||||||||
| 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 | 0044270: Audit columns are added by default in HQL/Datasource based grids when columns not present | |||||||||||
| Description | By default audit columns get added to grids/views when those are not present as columns in the HQL/Datasource based table. A check should be made to add this columns only when present in the source table. | |||||||||||
| Steps To Reproduce | 1. Open "Purchase Invoice" window 2. Select a record 3. Click on "Create Lines From Receipt" 4. Right click on filter -> Columns Audit columns are present: [Creation date, Created by, updated, updated by] If you add them those will be empty, as they are not in present the HQL based table source of this window.  | |||||||||||
| Proposed Solution | Check where audit columns are added in OBViewFieldHandler.java(line 239) and in case of HQL/Datasource based table, check if those columns are or not present. | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships | 
  | |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2020-06-03 09:40 | cberner | New Issue | ||||||||||
| 2020-06-03 09:40 | cberner | Assigned To | => platform | |||||||||
| 2020-06-03 09:40 | cberner | OBNetwork customer | => No | |||||||||
| 2020-06-03 09:40 | cberner | Modules | => Core | |||||||||
| 2020-06-03 09:40 | cberner | Triggers an Emergency Pack | => No | |||||||||
| 2020-06-03 09:41 | cberner | Relationship added | related to 0044058 | |||||||||
| 2022-02-01 07:24 | alostale | Assigned To | platform => Triage Platform Base | |||||||||
| There are no notes attached to this issue. |