Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0000366 | Openbravo ERP | Y. DBSourceManager | public | 2008-05-19 17:14 | 2009-03-18 11:02 |
|
Reporter | marvintm | |
Assigned To | marvintm | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | 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 | 0000366: Update process trims the body of functions and triggers when comparing |
Description | When performing and update.database, DBSourceManager loads the database model from the database, and compares it with the model in the XML files.
When comparing functions and triggers, the bodies are compared. However, instead of comparing them directly, they are first trimmed and then compared.
This is wrong, as functions and triggers that are different (for example, functions that have additional blank spaces at the begining or the end of their body) would instead appear to be equal, and therefore the update.database process would not update them in the database. |
Steps To Reproduce | Do a create.database. Then modify the XML file of a function or trigger, adding blank spaces to the end of the body. Then do update.database. The update process should detect the modification you've done and update the function or trigger, but instead, it will do nothing. |
Proposed Solution | |
Additional Information | |
Tags | dbsm_migrate |
Relationships | depends on | backport | 0000370 | | closed | marvintm | Update process trims the body of functions and triggers when comparing |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2008-05-19 17:14 | marvintm | New Issue | |
2008-05-19 17:14 | marvintm | Assigned To | => marvintm |
2008-05-19 17:15 | marvintm | Status | new => acknowledged |
2008-05-19 17:24 | marvintm | Status | acknowledged => scheduled |
2008-05-19 17:34 | marvintm | Status | scheduled => feedback |
2008-05-19 17:34 | marvintm | Status | feedback => scheduled |
2008-05-19 18:17 | marvintm | Status | scheduled => resolved |
2008-05-19 18:17 | marvintm | Resolution | open => fixed |
2008-05-19 18:17 | marvintm | Note Added: 0000245 | |
2008-11-26 14:11 | psarobe | Status | resolved => closed |
2008-12-18 12:38 | jpabloae | Sticky Issue | No => Yes |
2008-12-18 12:39 | jpabloae | Sticky Issue | Yes => No |
2008-12-18 12:39 | jpabloae | Tag Attached: dbsm_migrate | |
2008-12-18 12:41 | jpabloae | Project | @4@ => Openbravo ERP |
2008-12-18 12:41 | jpabloae | Category | => Y. DBSourceManager |
2009-03-18 11:02 | anonymous | sf_bug_id | 0 => 2691300 |