Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0012777 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] Z. Others | minor | have not tried | 2010-03-23 18:11 | 2010-12-09 16:00 | |||
| Reporter | shuehner | View Status | public | |||||
| Assigned To | mtaal | |||||||
| Priority | low | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | 0de98bfd33da | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | 2.50 | SCM revision | ||||||
| Merge Request Status | ||||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Web browser | ||||||||
| Modules | User Interface Selector | |||||||
| Support ticket | ||||||||
| Regression level | ||||||||
| Regression date | ||||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | ||||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0012777: When changing the table of a defined selector, the property path of all existing fields should be validated | |||||||
| Description | I.e. if a selector is defined on table A, including the fields with property paths valid for A, then the selector is changed to be based on table B the property paths might be invalid (most likely). Ideally all those path should be validated against the new table. Note this can be only done in java in a reasonable amount of time and would need to have fr 7158 implemented first (java level triggers). | |||||||
| Steps To Reproduce | See description | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|||||||||||||
|
|||||||||||||
Notes |
|
|
(0025812) mtaal (viewer) 2010-03-31 02:50 |
I will do this differently. If there are selector fields it is not allowed to change the datasource/table of a selector. I will do this in a trigger. |
|
(0025833) hgbot (developer) 2010-03-31 13:09 |
Repository: erp/mods/org.openbravo.userinterface.selector Changeset: 0de98bfd33dad7eac77520681050fc19efbffd84 Author: Martin Taal <martin.taal <at> openbravo.com> Date: Wed Mar 31 13:19:26 2010 +0200 URL: http://code.openbravo.com/erp/mods/org.openbravo.userinterface.selector/rev/0de98bfd33dad7eac77520681050fc19efbffd84 [^] Updated module dependency, fixes issue 12777: When changing the table of a defined selector, the property path of all existing fields should be validated --- M src-db/database/model/triggers/OBUISEL_SELECTOR_TRG.xml M src-db/database/sourcedata/AD_MESSAGE.xml M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml --- |
|
(0026656) shuehner (administrator) 2010-04-23 18:40 |
Tested on latest published module version. to change the table used now one must remove all selector fields before doing so. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-03-23 18:11 | shuehner | New Issue | |
| 2010-03-23 18:11 | shuehner | Assigned To | => mtaal |
| 2010-03-23 18:11 | shuehner | OBNetwork customer | => No |
| 2010-03-23 18:11 | shuehner | Relationship added | depends on 0007158 |
| 2010-03-31 02:50 | mtaal | Note Added: 0025812 | |
| 2010-03-31 13:09 | hgbot | Checkin | |
| 2010-03-31 13:09 | hgbot | Note Added: 0025833 | |
| 2010-03-31 13:09 | hgbot | Status | new => resolved |
| 2010-03-31 13:09 | hgbot | Resolution | open => fixed |
| 2010-03-31 13:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/mods/org.openbravo.userinterface.selector/rev/0de98bfd33dad7eac77520681050fc19efbffd84 [^] |
| 2010-04-23 18:40 | shuehner | Note Added: 0026656 | |
| 2010-04-23 18:40 | shuehner | Status | resolved => closed |
| 2010-12-09 16:00 | anonymous | sf_bug_id | 0 => 3133084 |
| Copyright © 2000 - 2009 MantisBT Group |