Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0013509 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | major | always | 2010-06-02 17:16 | 2010-06-17 00:00 | |||
| Reporter | iperdomo | View Status | public | |||||
| Assigned To | mtaal | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | eb86e4c97fe5 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_15 | |||
| OS Version | 2.6.30-gentoo-r5 | Database version | 8.3.8 | Ant version | 1.7.1 | |||
| Product Version | 2.50MP18 | SCM revision | ||||||
| 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 | 0013509: In a OBCriteria you can't use list() after a count() call | |||||||
| Description | The count() call modifies the query executed against the database. After a count() call you can't use list() of the same OBCriteria object. | |||||||
| Steps To Reproduce | Apply the attached patch and run the first test You'll get something like: Error list() after count() java.lang.ClassCastException: java.lang.Integer cannot be cast to org.openbravo.model.ad.system.SystemInformation | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0028076) hgbot (developer) 2010-06-07 20:13 |
Repository: erp/devel/pi Changeset: eb86e4c97fe58662b8647e72f55cdb5cac230acc Author: Martin Taal <martin.taal <at> openbravo.com> Date: Mon Jun 07 20:12:45 2010 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/eb86e4c97fe58662b8647e72f55cdb5cac230acc [^] fixes issue 13509: In a OBCriteria you can't use list() after a count() call --- M src-test/org/openbravo/test/dal/IssuesTest.java M src/org/openbravo/dal/service/OBCriteria.java --- |
|
(0028163) hudsonbot (viewer) 2010-06-08 04:22 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/eb86e4c97fe5 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/6875c9c0ac89 [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17566.obx [^] |
|
(0028489) iperdomo (viewer) 2010-06-16 10:16 |
Tested on pi @ rev ced7876366af |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-06-02 17:16 | iperdomo | New Issue | |
| 2010-06-02 17:16 | iperdomo | Assigned To | => mtaal |
| 2010-06-02 17:16 | iperdomo | File Added: DalTest.java.diff | |
| 2010-06-02 17:16 | iperdomo | OBNetwork customer | => No |
| 2010-06-02 17:19 | iperdomo | Description Updated | View Revisions |
| 2010-06-07 08:21 | alostale | Status | new => scheduled |
| 2010-06-07 20:13 | hgbot | Checkin | |
| 2010-06-07 20:13 | hgbot | Note Added: 0028076 | |
| 2010-06-07 20:13 | hgbot | Status | scheduled => resolved |
| 2010-06-07 20:13 | hgbot | Resolution | open => fixed |
| 2010-06-07 20:13 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/eb86e4c97fe58662b8647e72f55cdb5cac230acc [^] |
| 2010-06-08 04:22 | hudsonbot | Checkin | |
| 2010-06-08 04:22 | hudsonbot | Note Added: 0028163 | |
| 2010-06-16 10:16 | iperdomo | Note Added: 0028489 | |
| 2010-06-16 10:16 | iperdomo | Status | resolved => closed |
| 2010-06-17 00:00 | anonymous | sf_bug_id | 0 => 3017328 |
| Copyright © 2000 - 2009 MantisBT Group |