Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0012703 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] A. Platform | major | have not tried | 2010-03-17 09:19 | 2010-04-19 21:12 | |||
| Reporter | mtaal | View Status | public | |||||
| Assigned To | alostale | |||||||
| Priority | urgent | Resolution | fixed | Fixed in Version | 2.50MP15 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | 74935d22e705 | ||||
| Projection | none | ETA | none | Target Version | pi | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | pi | 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 | 0012703: Possible to have base reference == Y and parent reference set for AD_Reference | |||||||
| Description | The UI/database does not prevent an ad_reference record from having both the base reference and the parent reference set. This can be done by: - de-selecting the base reference field - select a parent reference - select the base reference - save Maybe a database trigger should be added to prevent this. Another possible additional check which may be done is that if other references use a reference as base reference that the base reference may not be set back to unchecked. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0025949) hgbot (developer) 2010-04-07 16:20 |
Repository: erp/devel/pi Changeset: 74935d22e705145db903d5b046d53b09b4a94b1b Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Wed Apr 07 16:32:31 2010 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/74935d22e705145db903d5b046d53b09b4a94b1b [^] fixed issue 12703: Possible to have base reference == Y with parent The fix includes: -Trigger to force parent to null for base references -WADValidation to ensure no base references with parent --- M src-db/database/model/triggers/AD_REFERENCE_MOD_TRG.xml M src-wad/src/org/openbravo/wad/validation/WADValidationResult.java M src-wad/src/org/openbravo/wad/validation/WADValidator.java M src-wad/src/org/openbravo/wad/validation/WADValidator_data.xsql --- |
|
(0026222) mtaal (viewer) 2010-04-15 09:55 |
Checked |
|
(0026431) hudsonbot (viewer) 2010-04-19 21:12 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/74935d22e705 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/91d98bda46c1 [^] Tests: http://builds.openbravo.com/view/devel-int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17088.obx [^] |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-03-17 09:19 | mtaal | New Issue | |
| 2010-03-17 09:19 | mtaal | Assigned To | => alostale |
| 2010-03-17 09:19 | mtaal | OBNetwork customer | => No |
| 2010-03-22 08:30 | alostale | Status | new => scheduled |
| 2010-03-22 08:30 | alostale | fix_in_branch | => pi |
| 2010-04-07 15:46 | alostale | fix_in_branch | pi => |
| 2010-04-07 15:46 | alostale | Summary | Possible to have base reference == N and parent reference set for AD_Reference => Possible to have base reference == Y and parent reference set for AD_Reference |
| 2010-04-07 16:20 | hgbot | Checkin | |
| 2010-04-07 16:20 | hgbot | Note Added: 0025949 | |
| 2010-04-07 16:20 | hgbot | Status | scheduled => resolved |
| 2010-04-07 16:20 | hgbot | Resolution | open => fixed |
| 2010-04-07 16:20 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/74935d22e705145db903d5b046d53b09b4a94b1b [^] |
| 2010-04-15 09:55 | mtaal | Note Added: 0026222 | |
| 2010-04-15 09:55 | mtaal | Status | resolved => closed |
| 2010-04-15 09:55 | mtaal | Fixed in Version | => 2.50MP15 |
| 2010-04-16 00:00 | anonymous | sf_bug_id | 0 => 2987967 |
| 2010-04-19 21:12 | hudsonbot | Checkin | |
| 2010-04-19 21:12 | hudsonbot | Note Added: 0026431 | |
| Copyright © 2000 - 2009 MantisBT Group |