Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012777
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersminorhave not tried2010-03-23 18:112010-12-09 16:00
ReportershuehnerView Statuspublic 
Assigned Tomtaal 
PrioritylowResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision0de98bfd33da
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50SCM revision 
Review Assigned To
Web browser
ModulesUser Interface Selector
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012777: When changing the table of a defined selector, the property path of all existing fields should be validated

DescriptionI.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 ReproduceSee description
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on feature request 0007158 acknowledgediciordia Data and user interface events (similar to database triggers) 
Not all the children of this issue are yet resolved or closed.

-  Notes
(0025812)
mtaal (manager)
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 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
Powered by Mantis Bugtracker