Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0020307Openbravo ERPA. Platformpublic2012-04-19 09:482012-04-23 10:35
migueldejuana 
migueldejuana 
immediatecriticalhave not tried
closedfixed 
20Professional Appliance
pi 
pi 
Google Chrome
Core
No
0020307: Api change: int-api - Build # 2931
int-api - Build # 2931 - Failure:

Check console output at http://builds.openbravo.com/job/int-api/2931/ [^] to view the results.


Committers since last success:

Changes for Build 0002931

   Guillermo ��lvarez de Eulate <guillermo.alvarez@openbravo.com>
   Fixed issue 20287: Wrong instantiation of OBPropertiesProvider have been corrected.

The error may be causing problems in some environments when properties file is readed
       src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java

   Miguel de Juana <miguel.dejuana@openbravo.com>
   Fixed issue 14498: Installed modules before rebuild, identifier fixed.
The identifier of a Module Installed(before rebuild) was wrong. It showed the language key instead of the name. The reference ad_language of the Ad_Module_Install table has been fixed.
       src-db/database/sourcedata/AD_COLUMN.xml




Last 20 lines of the console output:

[...truncated 466 lines...]
Error Summary:
Methods: 1 bad, 1 missing.

Errors:

org.openbravo.model.ad.module:
Bad
method org.openbravo.model.ad.module.ModuleInstall.getLanguage(): type java.lang.String in SANDBOX/api-checks/java/reference/java, but type org.openbravo.model.ad.system.Language in /srv/hudson/workspace/int-full-oracle/SANDBOX/api-checks/output/2931
Missing
method org.openbravo.model.ad.module.ModuleInstall.setLanguage(java.lang.String): missing in /srv/hudson/workspace/int-full-oracle/SANDBOX/api-checks/output/2931
+ failure=1
+ scp -P 19198 /srv/hudson/workspace/int-full-oracle/SANDBOX/api-checks/output/2931.japi.gz tomcat@builds.openbravo.com:/var/www/localhost/htdocs/japi/int/
+ exit 1
Build step 'Execute shell' marked build as failure
[locks-and-latches] Releasing all the locks
[locks-and-latches] All the locks released
Checking console output
Email was triggered for: Failure
Sending email for trigger: Failure
No
No tags attached.
related to defect 0014498 closed migueldejuana Module Management Window. Language Key instead of Language Name is shown once module update is installed 
Issue History
2012-04-19 09:48migueldejuanaNew Issue
2012-04-19 09:48migueldejuanaAssigned To => iciordia
2012-04-19 09:48migueldejuanaWeb browser => Google Chrome
2012-04-19 09:48migueldejuanaModules => Core
2012-04-19 09:50migueldejuanaRelationship addedrelated to 0014498
2012-04-19 09:57migueldejuanaNote Added: 0047728
2012-04-20 16:01iciordiaNote Added: 0047808
2012-04-20 16:01iciordiaAssigned Toiciordia => migueldejuana
2012-04-20 17:57hgbotCheckin
2012-04-20 17:57hgbotNote Added: 0047810
2012-04-20 17:57hgbotStatusnew => resolved
2012-04-20 17:57hgbotResolutionopen => fixed
2012-04-20 17:57hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/api-checks/rev/e86e3f7fa044b7c58f4e0b3d1429d009993ed805 [^]
2012-04-23 10:35migueldejuanaStatusresolved => closed
2012-04-23 10:35migueldejuanaFixed in Version => pi

Notes
(0047728)
migueldejuana   
2012-04-19 09:57   
Type: Change column datatype

Description: Datatype from String to Table(Language).

Risk: Low

Comments:
The change was made to solve the issue 14498
- Reasons:
The identifier of ModuleInstall was wrong because it showed the language key instead of language name (i.e.: 'en_US' instead of 'English(USA)').

- Development constraints::
If you try to get the language of ModuleInstall, you should know that it is Language instead of String.

----

[1] https://issues.openbravo.com/view.php?id=14498 [^] [^]

Best Regards,

Miguel de Juana
(0047808)
iciordia   
2012-04-20 16:01   
Approved.

Ismael
(0047810)
hgbot   
2012-04-20 17:57   
Repository: erp/devel/api-checks
Changeset: e86e3f7fa044b7c58f4e0b3d1429d009993ed805
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Fri Apr 20 17:56:51 2012 +0200
URL: http://code.openbravo.com/erp/devel/api-checks/rev/e86e3f7fa044b7c58f4e0b3d1429d009993ed805 [^]

Fixed 20307: Accept change

---
M java/reference/java.japi.gz
---