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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031974
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformmajorhave not tried2016-01-21 11:052016-01-21 16:52
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version3.0PR16Q1
StatusclosedFix in branchFixed in SCM revision83073641d170
ProjectionnoneETAnoneTarget Version3.0PR16Q1
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031974: detect situation created by issue 31959

DescriptionIssue 0031959 creates a situation where data can be corrupted by setting incorrect dates.

This situation should be detected in order to notify users about possible problems.
Steps To Reproducesee 0031959
Proposed SolutionCreate a module script that generates an alert in case of all of the following conditions are satisfied:
1. PG instance
2. updating from PR14Q4
3. using old pool (note this condition does not cover the case of having used old pool for a while, and later moving to new one)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0031973 closedalostale detect situation created by issue 31959 

-  Notes
(0083502)
hgbot (developer)
2016-01-21 14:07

Repository: erp/backports/3.0PR16Q1
Changeset: 83073641d170a8f789b483bdcc4a14bc0a927bbf
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Jan 21 12:44:16 2016 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR16Q1/rev/83073641d170a8f789b483bdcc4a14bc0a927bbf [^]

fixed issue 31974: detect situation created by issue 31959

  Added module script that creates alert when in this situation

---
A src-util/modulescript/build/classes/org/openbravo/modulescript/PgJdbcDatesIssue.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/PgJdbcDatesIssueData.class
A src-util/modulescript/src/org/openbravo/modulescript/PgJdbcDatesIssue.java
A src-util/modulescript/src/org/openbravo/modulescript/PgJdbcDatesIssue_data.xsql
---
(0083507)
caristu (developer)
2016-01-21 16:52
edited on: 2016-01-21 16:55

Code review + tested OK.

 - Modulescript is executed when updating from a version between PR15Q4 and 3.0.28174 (pi version which contains the fix)

 - Modulescript is not executed when updating before and/or after that version range.

 - Alert rule is just created once.


- Issue History
Date Modified Username Field Change
2016-01-21 11:06 alostale Type defect => backport
2016-01-21 11:06 alostale Target Version => 3.0PR16Q1
2016-01-21 14:07 hgbot Checkin
2016-01-21 14:07 hgbot Note Added: 0083502
2016-01-21 14:07 hgbot Status scheduled => resolved
2016-01-21 14:07 hgbot Resolution open => fixed
2016-01-21 14:07 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q1/rev/83073641d170a8f789b483bdcc4a14bc0a927bbf [^]
2016-01-21 15:19 alostale Review Assigned To => caristu
2016-01-21 16:52 caristu Note Added: 0083507
2016-01-21 16:52 caristu Status resolved => closed
2016-01-21 16:52 caristu Fixed in Version => 3.0PR16Q1
2016-01-21 16:55 caristu Note Edited: 0083507 View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker