Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0015420 | Openbravo ERP | 01. General setup | public | 2010-12-14 13:15 | 2011-06-28 10:09 |
|
Reporter | plujan | |
Assigned To | marvintm | |
Priority | urgent | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0MP1 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0015420: A rebuild with local changes in database shows a message that is not clear |
Description | I 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 Reproduce | 1. 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 Solution | Proper 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.
|
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0017805 | 3.0MP1 | closed | marvintm | A rebuild with local changes in database shows a message that is not clear | related to | defect | 0035222 | | closed | alostale | warning messages are not displayed while rebuilding via MMC |
|
Attached Files | LocalChangesWrongErrorMessage.PNG (29,043) 2010-12-14 13:15 https://issues.openbravo.com/file_download.php?file_id=3426&type=bug
|
|
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 |
Notes |
|
(0038487)
|
hgbot
|
2011-06-22 16:50
|
|
|
|
(0038490)
|
hgbot
|
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
---
|
|
|
|
|
|
|
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). |
|