Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0015950 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | major | random | 2011-02-11 08:46 | 2011-05-24 10:56 | |||
| Reporter | dalsasua | View Status | public | |||||
| Assigned To | dalsasua | |||||||
| Priority | immediate | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | pi | Fixed in SCM revision | c36d47b6c770 | |||
| Projection | none | ETA | none | Target Version | ||||
| OS | Linux 32 bit | Database | Oracle | Java version | 1.6.0_21 | |||
| OS Version | Ubuntu 10.10 | Database version | 11.2.0 SE | Ant version | 1.8.0 | |||
| Product Version | 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 | 0015950: Randomly the jUnit testUpdateCurrencyByUser test fails | |||||||
| Description | Randomly the jUnit testUpdateCurrencyByUser test fails | |||||||
| Proposed Solution | --- a/src-test/org/openbravo/test/dal/DalTest.java +++ b/src-test/org/openbravo/test/dal/DalTest.java @@ -145,17 +145,15 @@ // test querying for a specific currency and then updating it // should fail for a user public void testUpdateCurrencyByUser() { - setUserContext(getRandomUser().getId()); + setUserContext("30BB6B32AE984CF08705C57A6C7FAFB9"); final OBCriteria<Currency> obc = OBDal.getInstance().createCriteria(Currency.class); obc.add(Expression.eq(Currency.PROPERTY_ISOCODE, "USD")); final List<Currency> cs = obc.list(); | |||||||
| Tags | closingMay2011 | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0034148) hgbot (developer) 2011-02-11 11:49 |
Repository: erp/devel/pi Changeset: bcbf5a3d9d1ff1ee138b2a862692d781014c2753 Author: David Alsasua <david.alsasua <at> openbravo.com> Date: Fri Feb 11 11:47:20 2011 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/bcbf5a3d9d1ff1ee138b2a862692d781014c2753 [^] Fixes issue 15950: Randomly junit test fails. Substituted getRandomUser for a concrete one. --- M src-test/org/openbravo/test/dal/DalTest.java --- |
|
(0034177) hgbot (developer) 2011-02-14 13:19 |
Repository: erp/devel/pi Changeset: c36d47b6c770cba8d6bdf9716f450a4a58d86584 Author: David Alsasua <david.alsasua <at> openbravo.com> Date: Mon Feb 14 13:17:41 2011 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/c36d47b6c770cba8d6bdf9716f450a4a58d86584 [^] Fixes issue 15950: Randomly junit test fails. --- M src-test/org/openbravo/test/dal/DalQueryTest.java --- |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2011-02-11 08:46 | dalsasua | New Issue | |
| 2011-02-11 08:46 | dalsasua | Assigned To | => dalsasua |
| 2011-02-11 08:46 | dalsasua | Modules | => Core |
| 2011-02-11 08:46 | dalsasua | OBNetwork customer | => No |
| 2011-02-11 11:45 | dalsasua | Status | new => scheduled |
| 2011-02-11 11:45 | dalsasua | fix_in_branch | => pi |
| 2011-02-11 11:49 | hgbot | Checkin | |
| 2011-02-11 11:49 | hgbot | Note Added: 0034148 | |
| 2011-02-11 11:49 | hgbot | Status | scheduled => resolved |
| 2011-02-11 11:49 | hgbot | Resolution | open => fixed |
| 2011-02-11 11:49 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/bcbf5a3d9d1ff1ee138b2a862692d781014c2753 [^] |
| 2011-02-14 13:19 | hgbot | Checkin | |
| 2011-02-14 13:19 | hgbot | Note Added: 0034177 | |
| 2011-02-14 13:19 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/bcbf5a3d9d1ff1ee138b2a862692d781014c2753 [^] => http://code.openbravo.com/erp/devel/pi/rev/c36d47b6c770cba8d6bdf9716f450a4a58d86584 [^] |
| 2011-05-24 10:08 | dalsasua | Tag Attached: closingMay2011 | |
| 2011-05-24 10:56 | dalsasua | Status | resolved => closed |
| Copyright © 2000 - 2009 MantisBT Group |