Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0033448 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2016-07-07 17:50 | 2016-08-11 18:40 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR16Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | ea00c7ca98c6 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | alostale | |||||||
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 | 0033448: The DatasetServiceTest should check only the datasets defined in the OB3 distribution modules | |||||||
Description | Some of the tests of the DatasetServiceTest takes for granted that the where clause defined for dataset tables can be executed as is. This is not the case for some datasets defined in a module outside the OB3 distribution. For instance one dataset table where clause in that module contains a placeholders that must be replaced with an actual value before executing it, see [1]: Exception when creating query from ADFieldAccess where (ad_org_id in (@orgsInNaturalTree@)) [1] http://ci.openbravo.com/job/mod-simple/3439/testReport/junit/org.openbravo.test.modularity/DatasetServiceTest/testExportAllDataSets/ [^] | |||||||
Steps To Reproduce | See [1]: Exception when creating query from ADFieldAccess where (ad_org_id in (@orgsInNaturalTree@)) [1] http://ci.openbravo.com/job/mod-simple/3439/testReport/junit/org.openbravo.test.modularity/DatasetServiceTest/testExportAllDataSets/ [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0088302) hgbot (developer) 2016-07-07 17:59 |
Repository: erp/devel/pi Changeset: 1a052960012e7607e9c6169db71c50b5f889bccd Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Thu Jul 07 17:50:11 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/1a052960012e7607e9c6169db71c50b5f889bccd [^] Related with issue 33448: Removes commented out code --- M src-test/src/org/openbravo/test/modularity/DatasetServiceTest.java --- |
(0088303) hgbot (developer) 2016-07-07 17:59 |
Repository: erp/devel/pi Changeset: ea00c7ca98c641603999d7ebcb65a4aa63428b17 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Thu Jul 07 17:56:26 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/ea00c7ca98c641603999d7ebcb65a4aa63428b17 [^] Fixes issue 33448: DatasetServiceTest checks only modules in OB3 distribution The DatasetServiceTest class takes for granted that some rules applies to all datasets (i.e. that the dataset table where clause can be executed as is), but that cannot be met in some modules outside the OB3 distribution. Now the test only checks the datasets defined in the modules included in the OB3 distribution. --- M src-test/src/org/openbravo/test/modularity/DatasetServiceTest.java --- |
(0088311) alostale (viewer) 2016-07-08 07:58 |
code reviewed + tested |
(0088998) hudsonbot (viewer) 2016-08-11 18:40 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/edaa05b1fb18 [^] Maturity status: Test |
(0088999) hudsonbot (viewer) 2016-08-11 18:40 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/edaa05b1fb18 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2016-07-07 17:50 | AugustoMauch | New Issue | |
2016-07-07 17:50 | AugustoMauch | Assigned To | => AugustoMauch |
2016-07-07 17:50 | AugustoMauch | OBNetwork customer | => No |
2016-07-07 17:50 | AugustoMauch | Modules | => Core |
2016-07-07 17:50 | AugustoMauch | Triggers an Emergency Pack | => No |
2016-07-07 17:50 | AugustoMauch | Relationship added | related to 0033447 |
2016-07-07 17:59 | hgbot | Checkin | |
2016-07-07 17:59 | hgbot | Note Added: 0088302 | |
2016-07-07 17:59 | hgbot | Checkin | |
2016-07-07 17:59 | hgbot | Note Added: 0088303 | |
2016-07-07 17:59 | hgbot | Status | new => resolved |
2016-07-07 17:59 | hgbot | Resolution | open => fixed |
2016-07-07 17:59 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ea00c7ca98c641603999d7ebcb65a4aa63428b17 [^] |
2016-07-08 07:58 | alostale | Review Assigned To | => alostale |
2016-07-08 07:58 | alostale | Note Added: 0088311 | |
2016-07-08 07:58 | alostale | Status | resolved => closed |
2016-07-08 07:58 | alostale | Fixed in Version | => 3.0PR16Q4 |
2016-08-11 18:40 | hudsonbot | Checkin | |
2016-08-11 18:40 | hudsonbot | Note Added: 0088998 | |
2016-08-11 18:40 | hudsonbot | Checkin | |
2016-08-11 18:40 | hudsonbot | Note Added: 0088999 |
Copyright © 2000 - 2009 MantisBT Group |