Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0008504Openbravo ERPA. Platformpublic2009-04-08 12:382009-06-03 00:00
mtaal 
alostale 
immediatemajorhave not tried
closedfixed 
5
pi 
pi2.50MP1 
Core
No
0008504: smartbuild does not detect change in src/org/openbravo/dal/core/OBContext.java
I changed an api in src/org/openbravo/dal/core/OBContext.java, however the smartbuild does not pick up this change. This causes smartbuild to fail:

update.database:
[alterdatabasedataall] Executing database update process without checking changes in local files.
Initializing in-memory model...
Building runtime model
Model read in-memory, generating mapping...
Dal layer initialized
Database connection: jdbc:postgresql://localhost:5432/piinc. [^] User: tad
[alterdatabasedataall] Checking if database structure was modified locally.
[alterdatabasedataall] Checking if data has changed in the application dictionary.
Executing default prescript
Executed 113 SQL command(s) with 0 error(s)
Reading tables...
Reading views...
Reading sequences...
Reading triggers...
Reading functions...
Sorting foreign keys and checks...
Starting function and trigger standardization.
Original model loaded from database.
Loading data from XML files
Loading and applying configuration scripts
Comparing databases to find differences
Comparing table DataSetColumn

BUILD FAILED
/srv/hudson/jobs/erp_devel_pi-inc-pgsql/workspace/build.xml:500: The following error occurred while executing this line:
/srv/hudson/jobs/erp_devel_pi-inc-pgsql/workspace/src-db/database/build.xml:126: java.lang.NoSuchMethodError: org.openbravo.dal.core.OBContext.setInAdministratorMode(Z)V

No tags attached.
Issue History
2009-04-08 12:38mtaalNew Issue
2009-04-08 12:38mtaalAssigned To => alostale
2009-04-08 12:38mtaalRegression testing => No
2009-04-22 17:07jpabloaeNote Added: 0015559
2009-04-22 17:07jpabloaePrioritynormal => immediate
2009-04-23 11:10pjuvaraStatusnew => scheduled
2009-04-23 11:10pjuvaraNote Added: 0015605
2009-04-23 11:10pjuvarafix_in_branch => pi
2009-04-23 11:34hgbotCheckin
2009-04-23 11:34hgbotNote Added: 0015608
2009-04-23 11:34hgbotStatusscheduled => resolved
2009-04-23 11:34hgbotResolutionopen => fixed
2009-04-23 11:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a48bac9c52cb2cf4997efacf153461e80d3e30b5 [^]
2009-06-02 18:27psarobeStatusresolved => closed
2009-06-03 00:00anonymoussf_bug_id0 => 2800230

Notes
(0015559)
jpabloae   
2009-04-22 17:07   
This breaks the build and forces to do manual work, so increasing priority to immediate.
(0015605)
pjuvara   
2009-04-23 11:10   
Please fix this asap as it is potentially breaking the builds.
(0015608)
hgbot   
2009-04-23 11:34   
Repository: erp/devel/pi
Changeset: a48bac9c52cb2cf4997efacf153461e80d3e30b5
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Apr 23 11:34:25 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a48bac9c52cb2cf4997efacf153461e80d3e30b5 [^]

fixed bug 0008504: smartbuild does not detect change in src/org/openbravo/dal/core/OBContext.java

---
M build.xml
M src/build.xml
---