Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0013509 | Openbravo ERP | A. Platform | public | 2010-06-02 17:16 | 2010-06-17 00:00 |
|
Reporter | iperdomo | |
Assigned To | mtaal | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | 2.6.30-gentoo-r5 |
Product Version | 2.50MP18 | |
Target Version | | Fixed in Version | | |
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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | DalTest.java.diff (904) 2010-06-02 17:16 https://issues.openbravo.com/file_download.php?file_id=2621&type=bug |
|
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 | bug_revision_view_page.php?rev_id=462#r462 |
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 |