Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0023922 | Openbravo ERP | A. Platform | public | 2013-05-27 17:16 | 2013-05-28 23:57 |
Reporter | mirurita | ||||
Assigned To | shankarb | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 20 | OS Version | Community Appliance | |
Product Version | pi | ||||
Target Version | Fixed in Version | 3.0MP24 | |||
Merge Request Status | |||||
Review Assigned To | AugustoMauch | ||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | Production - QA Approved | ||||
Regression date | 2013-03-11 | ||||
Regression introduced in release | |||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/797f69e6a899c12da183a16692453fc0bd1f7d7e [^] | ||||
Triggers an Emergency Pack | No | ||||
Summary | 0023922: Tab tree it is not working under some circumstances | ||||
Description | When parsing the tab where clause all the ocurrences of 'e.' pattern are removed. This is because the alias is removed (if exists). But it is failing for example in the following example [e.]projectCategory = 'OBCNTR_CONTRACT' AND [e.]oBCNTRContractTyp[e.]salesContract = true the second 'e.' is removed by mistake. | ||||
Steps To Reproduce | 1) Create a tab (having a tree) with a where clause that firts the following condition e.projectCategory = 'OBCNTR_CONTRACT' AND e.oBCNTRContractType.salesContract = true it must have a property with the 'e' as last character followed by a dot: in this case oBCNTRContractTyp[e.]salesContract 2) Go to this tab and click on tree icon the code is doing this hqlWhereClause = hqlWhereClause.replace("e.", ""); the result is projectCategory = 'OBCNTR_CONTRACT' AND oBCNTRContractTypsalesContract = true it replaces by mistake an incorrect 'e.' pattern the sql fails and the tab tree is not displayed | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=6161&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2013-05-27 17:16 | mirurita | New Issue | |||
2013-05-27 17:16 | mirurita | Assigned To | => AugustoMauch | ||
2013-05-27 17:16 | mirurita | File Added: Screenshot from 2013-05-27 17:12:02.png | |||
2013-05-27 17:16 | mirurita | Modules | => Core | ||
2013-05-27 17:16 | mirurita | OBNetwork customer | => No | ||
2013-05-27 17:16 | mirurita | Triggers an Emergency Pack | => No | ||
2013-05-27 17:17 | mirurita | Regression level | => Production - QA Approved | ||
2013-05-27 17:17 | mirurita | Regression date | => 2013-03-11 | ||
2013-05-27 17:17 | mirurita | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/b69625663ccc [^] | ||
2013-05-27 17:22 | AugustoMauch | Assigned To | AugustoMauch => shankarb | ||
2013-05-28 06:29 | shankarb | Review Assigned To | => AugustoMauch | ||
2013-05-28 06:29 | shankarb | Status | new => scheduled | ||
2013-05-28 06:29 | shankarb | fix_in_branch | => pi | ||
2013-05-28 06:29 | shankarb | Issue Monitored: AugustoMauch | |||
2013-05-28 06:38 | hgbot | Checkin | |||
2013-05-28 06:38 | hgbot | Note Added: 0058978 | |||
2013-05-28 06:38 | hgbot | Status | scheduled => resolved | ||
2013-05-28 06:38 | hgbot | Resolution | open => fixed | ||
2013-05-28 06:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/51de13657be6bc85ec907f7afce90c6fdeb15861 [^] | ||
2013-05-28 09:49 | AugustoMauch | Note Added: 0058983 | |||
2013-05-28 09:49 | AugustoMauch | Status | resolved => new | ||
2013-05-28 09:49 | AugustoMauch | Resolution | fixed => open | ||
2013-05-28 10:45 | hgbot | Checkin | |||
2013-05-28 10:45 | hgbot | Note Added: 0058984 | |||
2013-05-28 12:45 | shankarb | Status | new => scheduled | ||
2013-05-28 12:45 | shankarb | Status | scheduled => resolved | ||
2013-05-28 12:45 | shankarb | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/51de13657be6bc85ec907f7afce90c6fdeb15861 [^] => https://code.openbravo.com/erp/devel/pi/rev/4b94b5a758f85408462bb33987dd15117875a07f [^] | ||
2013-05-28 12:45 | shankarb | Resolution | open => fixed | ||
2013-05-28 18:00 | AugustoMauch | Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/b69625663ccc [^] => https://code.openbravo.com/erp/devel/pi/rev/797f69e6a899c12da183a16692453fc0bd1f7d7e [^] | ||
2013-05-28 18:02 | AugustoMauch | Note Added: 0059002 | |||
2013-05-28 18:02 | AugustoMauch | Status | resolved => closed | ||
2013-05-28 18:02 | AugustoMauch | Fixed in Version | => 3.0MP24 | ||
2013-05-28 23:56 | hudsonbot | Checkin | |||
2013-05-28 23:56 | hudsonbot | Note Added: 0059010 | |||
2013-05-28 23:57 | hudsonbot | Checkin | |||
2013-05-28 23:57 | hudsonbot | Note Added: 0059012 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|