Openbravo Issue Tracking System - Modules
View Issue Details
0036885Moduleszz obsolete Easy Extensible Attributespublic2017-09-19 10:292017-09-29 12:00
inigosanchez 
inigosanchez 
normaltrivialhave not tried
closedfixed 
5
 
 
alostale
0036885: Remove a call to the DBSMOBUtil.getInstance().updateCRC(platform) deprecated method.
It should be invoked DBSMOBUtil.getInstance().updateCRC() method instead of deprecated method. This method was deprecated here (0036112) because the platform argument it wasn't needed.

The error was detected in mod-platform job:
..................................................
eclipse-warnings:
     [echo] Compiling...
     [java] invalid Class-Path header in manifest of jar file: /srv/ci/workspace/mod-simple-ci23.140/WebContent/WEB-INF/lib/org.restlet-2.0.8.jar
     [java] invalid Class-Path header in manifest of jar file: /srv/ci/workspace/mod-simple-ci23.140/WebContent/WEB-INF/lib/org.restlet.ext.servlet-2.0.8.jar
     [java] ----------
     [java] 1. WARNING in /srv/ci/workspace/mod-simple-ci23.140/modules/org.openbravo.ezattributes/src/org/openbravo/ezattributes/processes/GenerateProcess.java (at line 1157)
     [java] DBSMOBUtil.getInstance().updateCRC(platform);
     [java] ^^^^^^^^^^^^^^^^^^^
     [java] The method updateCRC(Platform) from the type DBSMOBUtil is deprecated
     [java] ----------
     [java] 1 problem (1 warning)
..................................................
-
No tags attached.
related to defect 0036112 closed inigosanchez Openbravo ERP excludeFilter + manual db object creation does not work when installing module during install.source 
Issue History
2017-09-19 10:29inigosanchezNew Issue
2017-09-19 10:29inigosanchezAssigned To => platform
2017-09-19 10:30inigosanchezRelationship addedrelated to 0036112
2017-09-21 15:59inigosanchezAssigned Toplatform => inigosanchez
2017-09-21 15:59inigosanchezStatusnew => scheduled
2017-09-21 16:00inigosanchezReview Assigned To => alostale
2017-09-21 16:00hgbotCheckin
2017-09-21 16:00hgbotNote Added: 0099219
2017-09-21 16:00hgbotStatusscheduled => resolved
2017-09-21 16:00hgbotResolutionopen => fixed
2017-09-21 16:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.ezattributes/rev/d041e248cc9671842ff41a0cc32c9bf6b53b0150 [^]
2017-09-29 12:00alostaleStatusresolved => closed
2022-02-18 04:26priyamCategoryEasy Extensible Attributes => zz obsolete Easy Extensible Attributes

Notes
(0099219)
hgbot   
2017-09-21 16:00   
Repository: erp/pmods/org.openbravo.ezattributes
Changeset: d041e248cc9671842ff41a0cc32c9bf6b53b0150
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Thu Sep 21 15:35:47 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.ezattributes/rev/d041e248cc9671842ff41a0cc32c9bf6b53b0150 [^]

Fixed issue 36885: avoid usage of deprecated method updateCRC(platform)

Use DBSMOBUtil.getInstance().updateCRC() instead of DBSMOBUtil.getInstance().updateCRC(platform).
The Platform is not used inside the method and for this reason was deprecated.

---
M src/org/openbravo/ezattributes/processes/GenerateProcess.java
---