Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0009274 | Openbravo ERP | A. Platform | public | 2009-06-01 19:00 | 2009-06-27 00:00 |
Reporter | alostale | ||||
Assigned To | marvintm | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | Fixed in Version | main | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0009274: export.database security mechanism does not work properly with mercurial. | ||||
Description | export.database security mechanism does not work properly with mercurial. The problem is the mercurial changes the revision for the whole working copy for each commit, and the security mechanism does not allow to export database in case the revision in the repository does not match with the one in database (which is updated whenever a create.database or update.database is executed). | ||||
Steps To Reproduce | In a hg working copy: -Create database -Do modifications in db -export database -> it works fine -commit changes -> the working copy revision changes -export database -> it is not possible since the revisions do not match | ||||
Proposed Solution | The security mechanism should be defined as: -If revision numbers match export -If they do not match, look all the revisions in src-db/database after the one in db. If all the revisions are done by the user trying to export allow it other case deny it- | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-06-01 19:00 | alostale | New Issue | |||
2009-06-01 19:00 | alostale | Assigned To | => marvintm | ||
2009-06-01 19:00 | alostale | OBNetwork customer | => No | ||
2009-06-02 12:15 | iciordia | Note Added: 0016858 | |||
2009-06-05 13:12 | psarobe | Status | new => scheduled | ||
2009-06-05 13:12 | psarobe | fix_in_branch | => pi | ||
2009-06-15 12:36 | hgbot | Checkin | |||
2009-06-15 12:36 | hgbot | Note Added: 0017298 | |||
2009-06-15 12:36 | hgbot | Status | scheduled => resolved | ||
2009-06-15 12:36 | hgbot | Resolution | open => fixed | ||
2009-06-15 12:37 | hgbot | Checkin | |||
2009-06-15 12:37 | hgbot | Note Added: 0017299 | |||
2009-06-15 12:37 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3b46e2f1f313c24203dd3354015d82340addba25 [^] | ||
2009-06-22 11:09 | psarobe | Fixed in Version | => main | ||
2009-06-26 18:39 | psarobe | Status | resolved => closed | ||
2009-06-27 00:00 | anonymous | sf_bug_id | 0 => 2813023 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|