Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013422Openbravo ERPA. Platformpublic2010-05-24 13:112010-06-03 22:49
marvintm 
marvintm 
immediatemajoralways
closedfixed 
5
 
2.50MP18pi 
Core
No
0013422: Deprecation warnings appear in the Rebuild popup because of the deprecation of setAdminContext in the OBContext class
When a build is done, if coming from an earlier version of Openbravo, and the setAdminContext method (or a related one) is used in a module, warnings will appear in the build.
Upgrade from MP14+QS to MP18 (with same version of QS).
The deprecations will be removed, and added in the next MP, in which this problem shouldn't happen, because the whole build process will be forked.
No tags attached.
related to defect 0013413 closed marvintm Some scaring warnings when updating from MP14+QS1.4 to MP18+QS1.4 
related to defect 00134232.50MP19 closed marvintm Deprecation tags need to be added to setAdminContext()-like methods in OBContext 
Issue History
2010-05-24 13:11marvintmNew Issue
2010-05-24 13:11marvintmAssigned To => marvintm
2010-05-24 13:24shuehnerRelationship addedrelated to 0013413
2010-05-24 13:28shuehnerRelationship addedrelated to 0013423
2010-05-24 13:42hgbotCheckin
2010-05-24 13:42hgbotNote Added: 0027679
2010-05-24 13:42hgbotStatusnew => resolved
2010-05-24 13:42hgbotResolutionopen => fixed
2010-05-24 13:42hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5ff164b622771a2e4f95e7525c0371e284b9477d [^]
2010-05-24 18:28shuehnerNote Added: 0027686
2010-05-24 18:28shuehnerStatusresolved => closed
2010-05-24 18:28shuehnerFixed in Version => pi
2010-05-25 00:01anonymoussf_bug_id0 => 3006660
2010-06-03 22:49hudsonbotCheckin
2010-06-03 22:49hudsonbotNote Added: 0027920

Notes
(0027679)
hgbot   
2010-05-24 13:42   
Repository: erp/devel/pi
Changeset: 5ff164b622771a2e4f95e7525c0371e284b9477d
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Mon May 24 13:40:50 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/5ff164b622771a2e4f95e7525c0371e284b9477d [^]

Fixed issue 13422. Deprecation warnings related to setAdminContext() and related methods in OBContext will not be shown.

---
M src/org/openbravo/dal/core/OBContext.java
---
(0027686)
shuehner   
2010-05-24 18:28   
Tested on pi/pgsql, deprecation warnings which where expected before this change are removed now.
(0027920)
hudsonbot   
2010-06-03 22:49   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/5ff164b62277 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/c011484a38d9 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17407.obx [^]