Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0035073 | Openbravo ERP | A. Platform | public | 2017-01-27 15:25 | 2017-05-29 17:43 | |||||||||||||||||||||
Reporter | psanjuan | |||||||||||||||||||||||||
Assigned To | inigosanchez | |||||||||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||||||||||||||||
Status | closed | Resolution | fixed | |||||||||||||||||||||||
Platform | OS | 30 | OS Version | Professional Appliance | ||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | 3.0PR17Q3 | ||||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | caristu | |||||||||||||||||||||||||
OBNetwork customer | ||||||||||||||||||||||||||
Web browser | ||||||||||||||||||||||||||
Modules | Core | |||||||||||||||||||||||||
Support ticket | ||||||||||||||||||||||||||
Regression level | Production - Confirmed Stable | |||||||||||||||||||||||||
Regression date | 2016-05-24 | |||||||||||||||||||||||||
Regression introduced in release | 3.0PR16Q3 | |||||||||||||||||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/9105dfe33d79e5b7ba39a2680064f7c48c402701 [^] | |||||||||||||||||||||||||
Triggers an Emergency Pack | No | |||||||||||||||||||||||||
Summary | 0035073: Fetching data when it is sorting by a null foreign key is not working as expected. | |||||||||||||||||||||||||
Description | Fetching data when it is sorting by a null foreign key is not working as expected. The problem can be reproduced having a BP with additional identifier (Currency) that is a foreign key and not mandatory (nullable). If currency is null for a BP and data is sorted by BP column, fetching the data is not working as expected. | |||||||||||||||||||||||||
Steps To Reproduce | - Login as "System Administrator - System" role. - Go to [Module] window and put "Core" module in development mode. - Go to [Tables and Columns] window and select "BusinessPartner" table. - Go to [Column] subtab and open in form view "BP_Currency_ID" record. - Check "Used as Record Identifiew" checkbox. Save it. -Restart tomcat because model has changed. - Login as "F&B International Group Admin" role. - Go to [Business Partner] window and create a new one for testing purposes. [Currency field should be null] - Go to [Location/Address] subtab and create a new test location for the new business partner. - Go to [Sales Order] window and create a new sales order with the BP created in previously steps. - Filter by "Document No." field using the document number generated for the new sales order. [Only the new sales order should be displayed in the grid] - Sort by "Order Date" column and refresh the current data from the toolbar button. Check the record appears. - Sort by "Business Partner" column and refresh the current data from the toolbar button. Check the record disappears. | |||||||||||||||||||||||||
Proposed Solution | It seems that the reported case is not take into account properly and a inner join is used instead of left join > Review use of useInnerJoinMap map in AdvancedQueryBuilder class. | |||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2017-01-27 15:25 | psanjuan | New Issue | ||||||||||||||||||||||||
2017-01-27 15:25 | psanjuan | Assigned To | => platform | |||||||||||||||||||||||
2017-01-27 15:25 | psanjuan | Modules | => Core | |||||||||||||||||||||||
2017-01-27 15:25 | psanjuan | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2017-01-27 15:27 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=14384#r14384 | |||||||||||||||||||||||
2017-01-27 15:43 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=14387#r14387 | |||||||||||||||||||||||
2017-02-02 14:47 | NaroaIriarte | Assigned To | platform => NaroaIriarte | |||||||||||||||||||||||
2017-02-03 10:13 | NaroaIriarte | Assigned To | NaroaIriarte => psanjuan | |||||||||||||||||||||||
2017-02-03 10:13 | NaroaIriarte | Status | new => feedback | |||||||||||||||||||||||
2017-04-07 10:34 | ngarcia | Resolution time | => 1493330400 | |||||||||||||||||||||||
2017-04-07 10:34 | ngarcia | Reproducibility | sometimes => always | |||||||||||||||||||||||
2017-04-07 10:34 | ngarcia | Status | feedback => new | |||||||||||||||||||||||
2017-04-07 10:34 | ngarcia | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=14978#r14978 | |||||||||||||||||||||||
2017-04-07 10:35 | ngarcia | Assigned To | psanjuan => platform | |||||||||||||||||||||||
2017-04-07 10:35 | ngarcia | Issue Monitored: networkb | ||||||||||||||||||||||||
2017-04-07 10:53 | ngarcia | Issue Monitored: ngarcia | ||||||||||||||||||||||||
2017-05-04 11:29 | inigosanchez | Assigned To | platform => inigosanchez | |||||||||||||||||||||||
2017-05-04 11:29 | inigosanchez | Status | new => scheduled | |||||||||||||||||||||||
2017-05-04 13:41 | inigosanchez | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15108#r15108 | |||||||||||||||||||||||
2017-05-04 13:42 | inigosanchez | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15109#r15109 | |||||||||||||||||||||||
2017-05-04 13:49 | inigosanchez | Description Updated | bug_revision_view_page.php?rev_id=15111#r15111 | |||||||||||||||||||||||
2017-05-04 17:46 | inigosanchez | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15114#r15114 | |||||||||||||||||||||||
2017-05-05 11:13 | inigosanchez | Summary | Tax Parameter tab does not show records while it should => Fetching data when it is sorting by a null foreign key is not working as expected. | |||||||||||||||||||||||
2017-05-05 11:13 | inigosanchez | Description Updated | bug_revision_view_page.php?rev_id=15115#r15115 | |||||||||||||||||||||||
2017-05-05 11:13 | inigosanchez | Proposed Solution updated | ||||||||||||||||||||||||
2017-05-05 11:14 | inigosanchez | Relationship added | caused by 0033015 | |||||||||||||||||||||||
2017-05-05 11:16 | inigosanchez | Regression level | => Production - Confirmed Stable | |||||||||||||||||||||||
2017-05-05 11:16 | inigosanchez | Regression date | => 2016-05-24 | |||||||||||||||||||||||
2017-05-05 11:16 | inigosanchez | Regression introduced in release | => 3.0PR16Q3 | |||||||||||||||||||||||
2017-05-05 11:16 | inigosanchez | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/9105dfe33d79e5b7ba39a2680064f7c48c402701 [^] | |||||||||||||||||||||||
2017-05-08 16:52 | inigosanchez | Note Added: 0096460 | ||||||||||||||||||||||||
2017-05-09 10:01 | hgbot | Checkin | ||||||||||||||||||||||||
2017-05-09 10:01 | hgbot | Note Added: 0096472 | ||||||||||||||||||||||||
2017-05-09 10:01 | hgbot | Status | scheduled => resolved | |||||||||||||||||||||||
2017-05-09 10:01 | hgbot | Resolution | open => fixed | |||||||||||||||||||||||
2017-05-09 10:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/33afd778e515a8e5df2eff4286683edbb7656fec [^] | |||||||||||||||||||||||
2017-05-09 10:03 | inigosanchez | Status | resolved => new | |||||||||||||||||||||||
2017-05-09 10:03 | inigosanchez | Resolution | fixed => open | |||||||||||||||||||||||
2017-05-09 10:04 | inigosanchez | Status | new => scheduled | |||||||||||||||||||||||
2017-05-09 10:09 | inigosanchez | Review Assigned To | => caristu | |||||||||||||||||||||||
2017-05-09 10:09 | inigosanchez | Status | scheduled => resolved | |||||||||||||||||||||||
2017-05-09 11:05 | caristu | Note Added: 0096483 | ||||||||||||||||||||||||
2017-05-09 11:05 | caristu | Status | resolved => closed | |||||||||||||||||||||||
2017-05-09 11:05 | caristu | Fixed in Version | => 3.0PR17Q3 | |||||||||||||||||||||||
2017-05-17 09:09 | caristu | Resolution | open => fixed | |||||||||||||||||||||||
2017-05-29 17:43 | hudsonbot | Checkin | ||||||||||||||||||||||||
2017-05-29 17:43 | hudsonbot | Note Added: 0096951 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|