Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0024544 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 08. Project and service management | major | always | 2013-08-20 11:00 | 2013-08-21 18:59 | |||
Reporter | vmromanos | View Status | public | |||||
Assigned To | dmiguelez | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP27 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 6ca87037847e | ||||
Projection | none | ETA | none | Target Version | 3.0MP27 | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_12 | |||
OS Version | Debian 5.0 | Database version | 8.3.8 | Ant version | 1.7.0 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | vmromanos | |||||||
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 | 0024544: C_PROJECT_VALUE unique constraint in C_Project table should include AD_ORG_ID | |||||||
Description | The C_PROJECT_VALUE unique constraint inside the C_Project table is defined as (client, value). This is wrong since two different organizations may have a contract with the same name | |||||||
Steps To Reproduce | 1. Go to Multiphase Project window 2. Create a Project with search key "Test" for F&B EspaƱa 3. Create a Project with search key "Test" for F&B US. An error is shown | |||||||
Proposed Solution | Redefine C_PROJECT_VALUE constraint to: <index name="C_PROJECT_VALUE" unique="true"> <index-column name="AD_CLIENT_ID"/> <index-column name="AD_ORG_ID"/> <index-column name="VALUE"/> </index> Note that this change will produce a false API change | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0060700) hgbot (developer) 2013-08-21 11:02 |
Repository: erp/devel/pi Changeset: 6ca87037847e8b4323388162a6251149cc178e66 Author: David Miguelez <david.miguelez <at> openbravo.com> Date: Wed Aug 21 11:01:14 2013 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/6ca87037847e8b4323388162a6251149cc178e66 [^] Fixes Issue 24544, 19009. Updates C_Project_Value unique constraint. Now is Client + Organization + Project Category + Value. --- M src-db/database/model/tables/C_PROJECT.xml --- |
(0060703) vmromanos (viewer) 2013-08-21 11:59 |
Code review + testing OK |
(0060720) hudsonbot (viewer) 2013-08-21 18:59 |
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/5a759279dc34 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2013-08-20 11:00 | vmromanos | New Issue | |
2013-08-20 11:00 | vmromanos | Assigned To | => dmiguelez |
2013-08-20 11:00 | vmromanos | Modules | => Core |
2013-08-20 11:00 | vmromanos | OBNetwork customer | => No |
2013-08-20 11:00 | vmromanos | Triggers an Emergency Pack | => No |
2013-08-21 10:47 | dmiguelez | Relationship added | related to 0019009 |
2013-08-21 11:00 | dmiguelez | Relationship added | related to 0024551 |
2013-08-21 11:02 | hgbot | Checkin | |
2013-08-21 11:02 | hgbot | Note Added: 0060700 | |
2013-08-21 11:02 | hgbot | Status | new => resolved |
2013-08-21 11:02 | hgbot | Resolution | open => fixed |
2013-08-21 11:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6ca87037847e8b4323388162a6251149cc178e66 [^] |
2013-08-21 11:59 | vmromanos | Review Assigned To | => vmromanos |
2013-08-21 11:59 | vmromanos | Note Added: 0060703 | |
2013-08-21 11:59 | vmromanos | Status | resolved => closed |
2013-08-21 11:59 | vmromanos | Fixed in Version | => 3.0MP27 |
2013-08-21 18:59 | hudsonbot | Checkin | |
2013-08-21 18:59 | hudsonbot | Note Added: 0060720 |
Copyright © 2000 - 2009 MantisBT Group |