Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0006279 | Openbravo ERP | A. Platform | public | 2008-11-30 22:54 | 2009-03-06 12:34 |
Reporter | mtaal | ||||
Assigned To | Hennadzi | ||||
Priority | high | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
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 | 0006279: Openbravo source code contains String comparison using == instead of equals | ||||
Description | There are approx. 42 places in the openbravo source code where == is used for string comparison instead of equals, for examples: if(newC_ValidCombination_ID == "") { return; } else { load(null, conn, newC_ValidCombination_ID); return; } This is wrong, the above will almost always be false. | ||||
Steps To Reproduce | The occurrences of the illegal situation can be found by searching for the following term in the Openbravo source code: == " | ||||
Proposed Solution | The correct comparison should be: if(newC_ValidCombination_ID != null && newC_ValidCombination_ID.equals("")) { return; } else { load(null, conn, newC_ValidCombination_ID); return; } | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-11-30 22:54 | mtaal | New Issue | |||
2008-11-30 22:54 | mtaal | Assigned To | => rafaroda | ||
2008-11-30 22:54 | mtaal | sf_bug_id | 0 => 2367076 | ||
2008-11-30 22:54 | mtaal | OBNetwork customer | => No | ||
2008-11-30 22:54 | mtaal | Regression testing | => No | ||
2008-12-01 13:04 | shuehner | Issue Monitored: shuehner | |||
2008-12-03 19:03 | pjuvara | Priority | normal => high | ||
2008-12-09 13:00 | pheenan | Assigned To | rafaroda => Dowid | ||
2008-12-09 13:57 | Dowid | Assigned To | Dowid => Hennadzi | ||
2008-12-10 12:23 | svnbot | Checkin | |||
2008-12-10 12:23 | svnbot | Note Added: 0011139 | |||
2008-12-10 12:23 | svnbot | Status | new => resolved | ||
2008-12-10 12:23 | svnbot | Resolution | open => fixed | ||
2008-12-10 12:23 | svnbot | svn_revision | => 11082 | ||
2008-12-12 12:50 | svnbot | Checkin | |||
2008-12-12 12:50 | svnbot | Note Added: 0011238 | |||
2008-12-12 12:50 | svnbot | svn_revision | 11082 => 11147 | ||
2008-12-14 21:08 | mtaal | Note Added: 0011327 | |||
2008-12-14 21:08 | mtaal | Status | resolved => new | ||
2008-12-14 21:08 | mtaal | Resolution | fixed => open | ||
2008-12-14 21:08 | mtaal | Note Added: 0011328 | |||
2008-12-16 12:03 | svnbot | Checkin | |||
2008-12-16 12:03 | svnbot | Note Added: 0011406 | |||
2008-12-16 12:03 | svnbot | Status | new => resolved | ||
2008-12-16 12:03 | svnbot | Resolution | open => fixed | ||
2008-12-16 12:03 | svnbot | svn_revision | 11147 => 11233 | ||
2009-01-09 17:48 | shuehner | Issue End Monitor: shuehner | |||
2009-03-06 12:34 | psarobe | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|