Openbravo Issue Tracking System - Localization Pack: Spain | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0041283 | Localization Pack: Spain | AEAT 390 | public | 2019-07-04 13:59 | 2019-09-10 17:31 |
Reporter | shuehner | ||||
Assigned To | collazoandy4 | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Regression date | |||||
Regression introduced by commit | |||||
Regression level | |||||
Review Assigned To | Sandrahuguet | ||||
Support ticket | |||||
OBNetwork customer | |||||
Regression introduced in release | |||||
Summary | 0041283: eclipse warning: Unlikely argument type for equals(): EpigraphIAEOrgInfo seems to be unrelated to String | ||||
Description | The code is comparing a EpigraphIAEOrgInfo bob object to a String. While that technically compares getIdentifier (see BaseOBObject.toString) to a String that looks accidental especially given the identifier column definition of the table: obpi_pg=# select columnname from ad_column where ad_table_id = 'F468CC15B7B44F17AA68DA4D42E754CF' and isidentifier = 'Y'; columnname ------------------- Epiae_Epigraph_ID AD_Org_ID | ||||
Steps To Reproduce | [java] 10. INFO in /srv/ci/workspace/mod-simple-ci23.18102/modules/org.openbravo.module.aeat390.es/src/org/openbravo/module/aeat390/es/report/AEAT390Report2011.java (at line 174) [java] if ("N".equals(activity) && i <= 5) { [java] ^^^^^^^^ [java] Unlikely argument type for equals(): EpigraphIAEOrgInfo seems to be unrelated to String [java] ---------- [java] ---------- [java] 11. INFO in /srv/ci/workspace/mod-simple-ci23.18102/modules/org.openbravo.module.aeat390.es/src/org/openbravo/module/aeat390/es/v2012/report/AEAT390Report2012.java (at line 179) [java] if ("N".equals(activity) && i <= 5) { [java] ^^^^^^^^ [java] Unlikely argument type for equals(): EpigraphIAEOrgInfo seems to be unrelated to String | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2019-07-04 13:59 | shuehner | New Issue | |||
2019-07-04 13:59 | shuehner | Assigned To | => Opentix-Test | ||
2019-08-02 14:37 | Sandrahuguet | Assigned To | Opentix-Test => collazoandy4 | ||
2019-08-02 19:35 | collazoandy4 | Status | new => scheduled | ||
2019-09-10 17:31 | hgbot | Checkin | |||
2019-09-10 17:31 | hgbot | Note Added: 0114509 | |||
2019-09-10 17:31 | hgbot | Checkin | |||
2019-09-10 17:31 | hgbot | Note Added: 0114510 | |||
2019-09-10 17:31 | hgbot | Status | scheduled => resolved | ||
2019-09-10 17:31 | hgbot | Resolution | open => fixed | ||
2019-09-10 17:31 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat390.es/rev/530fdf287bebc450a5864718ebfe2707a8769ab6 [^] | ||
2019-09-10 17:31 | Sandrahuguet | Review Assigned To | => Sandrahuguet | ||
2019-09-10 17:31 | Sandrahuguet | Note Added: 0114511 | |||
2019-09-10 17:31 | Sandrahuguet | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|