Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0015420
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 01. General setupmajorhave not tried2010-12-14 13:152011-06-28 10:09
ReporterplujanView Statuspublic 
Assigned Tomarvintm 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisionbeb7376b819a
ProjectionnoneETAnoneTarget Version3.0MP1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0015420: A rebuild with local changes in database shows a message that is not clear

DescriptionI had some local changes in my environment, and I tried to rebuild after installed a module. I've got a message about update.database (see attach) but the message gave me no clue about why the rebuild was not possible.
This was working on 2.50, so it is a regression.
Steps To Reproduce1. Make a local change, for example, put Core in development
2. Install any module and rebuild. Check the error message (as shown in attach)
Proposed SolutionProper message should be displayed:
ERROR - Change detected in table: AD_Ref_List. Database has local changes. Update.database will not be done. You should export your changed modules before doing update.database, so that your Application Dictionary changes are preserved.
TagsNo tags attached.
Attached Filespng file icon LocalChangesWrongErrorMessage.PNG [^] (29,043 bytes) 2010-12-14 13:15

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 00178053.0MP1 closedmarvintm A rebuild with local changes in database shows a message that is not clear 
related to defect 0035222 closedalostale warning messages are not displayed while rebuilding via MMC 

-  Notes
(0038487)
hgbot (developer)
2011-06-22 16:50

Repository: erp/devel/dbsm-main
Changeset: 5c1ace45ea809ec94cb072ab8403706af5d75a17
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Jun 22 16:50:00 2011 +0200
URL: http://code.openbravo.com/erp/devel/dbsm-main/rev/5c1ace45ea809ec94cb072ab8403706af5d75a17 [^]

Related to issue 15420. Change the 'local changes' message to ERROR level

---
M src/org/openbravo/ddlutils/task/AlterDatabaseDataAll.java
---
(0038490)
hgbot (developer)
2011-06-22 17:28

Repository: erp/devel/pi
Changeset: beb7376b819adef46ec7f2e67e8ccd5739890395
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Wed Jun 22 16:56:57 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/beb7376b819adef46ec7f2e67e8ccd5739890395 [^]

Fixed issue 15420. Several changes to make this work:
- Changed the level of the message generated by dbsourcemanager to 'ERROR'
- Filter some not nice parts of the error messages generated by the build so that the user is not confused
- Change the ApplyModules.html Javascript code so that it works correctly with multiple-element error messages.

---
M src-db/database/lib/dbsourcemanager.jar
M src/org/openbravo/erpCommon/ad_process/ApplyModules.html
M src/org/openbravo/erpCommon/ad_process/ApplyModulesCallServlet.java
---
(0038507)
hudsonbot (developer)
2011-06-22 23:19

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/aab463ce0882 [^]

Maturity status: Test
(0038539)
shuehner (administrator)
2011-06-27 16:23

Reviewed + tested in pi/pgsql/chromium (rev: 9652da83413c). Now with local changes the error message in the popup included the 'real' error text so user knows why the rebuild was stopped. Also several lines not containing useful info have been removed (the ant-style stacktrace of called ant-targets).

- Issue History
Date Modified Username Field Change
2010-12-14 13:15 plujan New Issue
2010-12-14 13:15 plujan Assigned To => adrianromero
2010-12-14 13:15 plujan File Added: LocalChangesWrongErrorMessage.PNG
2010-12-14 13:15 plujan Modules => Core
2010-12-14 13:16 plujan Tag Attached: Regression QA
2010-12-14 13:16 plujan Assigned To adrianromero => alostale
2010-12-20 08:44 alostale Status new => scheduled
2010-12-20 08:44 alostale Assigned To alostale => marvintm
2010-12-20 08:44 alostale fix_in_branch => pi
2011-05-30 10:33 dalsasua Issue Monitored: dalsasua
2011-06-08 11:42 iciordia Tag Detached: Regression QA
2011-06-08 11:46 marvintm Target Version => 3.0MP1
2011-06-08 11:46 marvintm fix_in_branch pi =>
2011-06-22 16:50 hgbot Checkin
2011-06-22 16:50 hgbot Note Added: 0038487
2011-06-22 17:28 hgbot Checkin
2011-06-22 17:28 hgbot Note Added: 0038490
2011-06-22 17:28 hgbot Status scheduled => resolved
2011-06-22 17:28 hgbot Resolution open => fixed
2011-06-22 17:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/beb7376b819adef46ec7f2e67e8ccd5739890395 [^]
2011-06-22 23:19 hudsonbot Checkin
2011-06-22 23:19 hudsonbot Note Added: 0038507
2011-06-27 16:23 shuehner Note Added: 0038539
2011-06-27 16:23 shuehner Status resolved => closed
2011-06-28 10:08 marvintm Status closed => new
2011-06-28 10:08 marvintm Resolution fixed => open
2011-06-28 10:08 marvintm Status new => acknowledged
2011-06-28 10:08 marvintm Status acknowledged => scheduled
2011-06-28 10:08 marvintm fix_in_branch => pi
2011-06-28 10:09 marvintm Status scheduled => resolved
2011-06-28 10:09 marvintm Resolution open => fixed
2011-06-28 10:09 marvintm Status resolved => closed
2017-02-10 13:14 alostale Relationship added related to 0035222


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker