Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0009285 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | minor | always | 2009-06-02 12:03 | 2009-06-11 00:00 | |||
| Reporter | pjuvara | View Status | public | |||||
| Assigned To | AinhoaPagola | |||||||
| Priority | low | Resolution | fixed | Fixed in Version | pi | |||
| Status | closed | Fix in branch | Fixed in SCM revision | d7fc5e28a753 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_11 | |||
| OS Version | rPath Linux | Database version | 8.3.5 | Ant version | 1.7.1 | |||
| Product Version | 2.50MP1 | SCM revision | ||||||
| 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 | 0009285: Poor error message when trying to delete current project phase | |||||||
| Description | When you try to delete a project phase from a multiphase project, you get an error if the phase that you are trying to delete is the current phase of the project. This is correct because the project has a foreign key to the phase. However, the error that you receive is a nasty foreign key violation and it is not clear to the user: ERROR: update or delete on table "c_projectphase" violates foreign key constraint "cprojectphase_cproject" on table "c_project" Detail: Key (c_projectphase_id)=(459C20F33A7340E88F1267800175CA14) is still referenced from table "c_project". | |||||||
| Steps To Reproduce | 1) Define a project type with at least one phase 2) Define a multiphase project 3) Set the project type to the one you defined in 1) and set the current phase 4) Navigate to Phases and try to delete the current phase | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
Notes |
|
|
(0017113) hgbot (developer) 2009-06-08 18:33 |
Repository: erp/devel/pi Changeset: d7fc5e28a753e7da72573372c87c62c875e9dac1 Author: Ainhoa Pagola <ainhoa.pagola <at> openbravo.com> Date: Mon Jun 08 18:27:48 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/d7fc5e28a753e7da72573372c87c62c875e9dac1 [^] Fixes bug 9285 and 9363: Poor error messages on foreign key violations --- M src-db/database/sourcedata/AD_MESSAGE.xml --- |
|
(0017178) sureshbabu (viewer) 2009-06-10 13:11 |
Tested error message has been fine tuned to " This record cannot be deleted because it is associated with other existing elements. Please see Linked Items " |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-06-02 12:03 | pjuvara | New Issue | |
| 2009-06-02 12:03 | pjuvara | Assigned To | => rafaroda |
| 2009-06-02 12:03 | pjuvara | OBNetwork customer | => No |
| 2009-06-05 09:59 | rafaroda | Assigned To | rafaroda => alostale |
| 2009-06-05 09:59 | rafaroda | Priority | normal => low |
| 2009-06-05 09:59 | rafaroda | Status | new => scheduled |
| 2009-06-05 09:59 | rafaroda | Category | 08. Project and service management => A. Platform |
| 2009-06-08 10:13 | AinhoaPagola | Relationship added | related to 0009363 |
| 2009-06-08 10:19 | AinhoaPagola | Assigned To | alostale => AinhoaPagola |
| 2009-06-08 18:33 | hgbot | Checkin | |
| 2009-06-08 18:33 | hgbot | Note Added: 0017113 | |
| 2009-06-08 18:33 | hgbot | Status | scheduled => resolved |
| 2009-06-08 18:33 | hgbot | Resolution | open => fixed |
| 2009-06-08 18:33 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d7fc5e28a753e7da72573372c87c62c875e9dac1 [^] |
| 2009-06-10 13:11 | sureshbabu | Status | resolved => closed |
| 2009-06-10 13:11 | sureshbabu | Note Added: 0017178 | |
| 2009-06-10 13:11 | sureshbabu | Fixed in Version | => pi |
| 2009-06-11 00:00 | anonymous | sf_bug_id | 0 => 2804447 |
| Copyright © 2000 - 2009 MantisBT Group |