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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021655
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2012-09-14 12:582012-09-26 17:19
ReporteregoitzView Statuspublic 
Assigned Tojecharri 
PriorityurgentResolutionfixedFixed in Version3.0MP16
StatusclosedFix in branchFixed in SCM revision861d5861059e
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP14SCM revision 
Review Assigned Toegoitz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021655: The alert to check disabled triggers does not work

DescriptionThe problem is that the alerts checks the information on user_triggers view what is not correct.
this view retunrs as the triggers as enabled because the status is hardcoded with enabled directly.

Steps To Reproduce-Disable a trigger
-Execute the alert that check disable triggers.
-Not rows are returned
Proposed Solutionon the user tables replace

'ENABLED'::text AS status

with

(case when tgenabled='D' then 'DISABLED'::text ELSE 'ENABLED'::text END) AS status
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0052204)
hgbot (developer)
2012-09-18 15:24

Repository: erp/devel/pi
Changeset: 861d5861059e10910ef7a68b914afd5111a61ea1
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Tue Sep 18 15:22:53 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/861d5861059e10910ef7a68b914afd5111a61ea1 [^]

Fixes issue 21655: The alert to check disabled triggers does not work

---
M src-db/database/model/prescript-PostgreSql.sql
---
(0052205)
jecharri (developer)
2012-09-18 15:39

Test plan:
-Disable a trigger
-Execute the alert that check disable triggers.
-One alert per trigger is created.

Verify that if you execute queries in table user_trigger, you are able to see disabled and enabled triggers.
(0052208)
egoitz (developer)
2012-09-18 16:39

verified with the testing plan provided
(0052779)
hudsonbot (developer)
2012-09-26 17:19

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b780e90c6452 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-09-14 12:58 egoitz New Issue
2012-09-14 12:58 egoitz Assigned To => migueldejuana
2012-09-14 12:58 egoitz Modules => Core
2012-09-14 13:18 egoitz Assigned To migueldejuana => dmiguelez
2012-09-14 14:57 dmiguelez Assigned To dmiguelez => jonalegriaesarte
2012-09-17 08:48 egoitz Summary The alert to check disabled alerts does not work => The alert to check disabled triggers does not work
2012-09-18 13:03 jecharri Assigned To jonalegriaesarte => jecharri
2012-09-18 15:24 hgbot Checkin
2012-09-18 15:24 hgbot Note Added: 0052204
2012-09-18 15:24 hgbot Status new => resolved
2012-09-18 15:24 hgbot Resolution open => fixed
2012-09-18 15:24 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/861d5861059e10910ef7a68b914afd5111a61ea1 [^]
2012-09-18 15:39 jecharri Note Added: 0052205
2012-09-18 16:39 egoitz Closed by => egoitz
2012-09-18 16:39 egoitz Note Added: 0052208
2012-09-18 16:39 egoitz Status resolved => closed
2012-09-18 16:39 egoitz Fixed in Version => 3.0MP16
2012-09-26 17:19 hudsonbot Checkin
2012-09-26 17:19 hudsonbot Note Added: 0052779


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker