Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0019057 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
feature request | [Openbravo ERP] Y. DBSourceManager | major | always | 2011-11-14 08:22 | 2011-11-14 16:44 | |||||||
Reporter | neil_smith | View Status | public | |||||||||
Assigned To | marvintm | |||||||||||
Priority | high | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | PostgreSQL | Java version | 1.6.0_14 | |||||||
OS Version | Database version | 8.3.6 | Ant version | |||||||||
Product Version | 3.0MP4.1 | 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 | 0019057: DO INSTEAD on view | |||||||||||
Description | When working with views, it is not possible to delete/update/insert on them (in PostgreSQL). There is a way to bypass this problem by creating a 'DO INSTEAD' rule on the view such as reported in the postgreSQL documentation CREATE RULE name AS ON event TO object [ WHERE condition ] DO [ INSTEAD ] [ action | NOTHING ] in my case, 'name' is the name of my rule, 'event' is DELETE, 'object' is my view and the action is 'DO INSTEAD DELETE FROM ...' When the context is exported (ant export.database), this rule is not exported. This causes a big problem because after each update, the rule is lost and I have to recreate it manually. | |||||||||||
Steps To Reproduce | 1. Create the rule 2. ant export.database 3. the rule is deleted from in the database | |||||||||||
Proposed Solution | The rules have to be saved with the context (export.database) | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
![]() |
|
![]() |
|||
Date Modified | Username | Field | Change |
2011-11-14 08:22 | neil_smith | New Issue | |
2011-11-14 08:22 | neil_smith | Assigned To | => alostale |
2011-11-14 08:22 | neil_smith | Modules | => Core |
2011-11-14 12:01 | shuehner | OBNetwork customer | => No |
2011-11-14 12:01 | shuehner | Category | 00. Application dictionary => Y. DBSourceManager |
2011-11-14 12:01 | shuehner | Type | defect => feature request |
2011-11-14 16:44 | alostale | Assigned To | alostale => marvintm |
Copyright © 2000 - 2009 MantisBT Group |