Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0037708 | Openbravo ERP | A. Platform | public | 2018-01-23 18:50 | 2022-02-01 08:08 | ||||||||||||||
Reporter | aferraz | ||||||||||||||||||
Assigned To | Triage Platform Base | ||||||||||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||||||||
Status | acknowledged | Resolution | open | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0037708: Update of Order table not working in HQL | ||||||||||||||||||
Description | If we try to run an update query in Order table using HQL, following error is raised: java.lang.IllegalArgumentException: node to traverse cannot be null! | ||||||||||||||||||
Steps To Reproduce | Create following HQL query: Query updateQry = OBDal.getInstance().getSession().createQuery("update Order set description = 'a'"); You get following error: java.lang.IllegalArgumentException: node to traverse cannot be null! If we create the same query for Invoice table instead of Order table, query is correctly created: Query updateQry = OBDal.getInstance().getSession().createQuery("update Invoice set description = 'a'"); It seems that Hibernate is confusing Order table name with order by keyword. | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2018-01-23 18:50 | aferraz | New Issue | |||||||||||||||||
2018-01-23 18:50 | aferraz | Assigned To | => platform | ||||||||||||||||
2018-01-23 18:50 | aferraz | Modules | => Core | ||||||||||||||||
2018-01-23 18:50 | aferraz | Triggers an Emergency Pack | => No | ||||||||||||||||
2018-01-23 18:51 | aferraz | Relationship added | related to 0028330 | ||||||||||||||||
2018-01-23 18:52 | aferraz | Relationship added | related to 0028163 | ||||||||||||||||
2018-01-23 18:53 | aferraz | Description Updated | bug_revision_view_page.php?rev_id=16576#r16576 | ||||||||||||||||
2018-01-23 18:53 | aferraz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16578#r16578 | ||||||||||||||||
2018-01-23 18:56 | aferraz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16579#r16579 | ||||||||||||||||
2018-02-09 09:27 | alostale | Note Added: 0102292 | |||||||||||||||||
2018-02-09 09:27 | alostale | Status | new => acknowledged | ||||||||||||||||
2018-02-09 09:27 | alostale | Type | defect => design defect | ||||||||||||||||
2022-02-01 08:08 | alostale | Assigned To | platform => Triage Platform Base |
Notes | |||||
|
|||||
|
|