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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031975
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformmajorhave not tried2016-01-21 11:052016-01-21 16:54
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version3.0PR15Q4.2
StatusclosedFix in branchFixed in SCM revision51a2befdaed1
ProjectionnoneETAnoneTarget Version3.0PR15Q4.2
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

0031975: 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
(0083500)
hgbot (developer)
2016-01-21 14:06

Repository: erp/backports/3.0PR15Q4.2
Changeset: 51a2befdaed15dc4d765e841eb0695974ce562ca
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Jan 21 13:57:04 2016 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR15Q4.2/rev/51a2befdaed15dc4d765e841eb0695974ce562ca [^]

fixed issue 31975: 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
---
(0083509)
caristu (developer)
2016-01-21 16:54

Code review + tested OK.

 - Modulescript is executed when updating from a version between PR15Q4 and PR15Q4.2

 - 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.0PR15Q4.2
2016-01-21 13:13 txasu Issue Monitored: txasu
2016-01-21 14:06 hgbot Checkin
2016-01-21 14:06 hgbot Note Added: 0083500
2016-01-21 14:06 hgbot Status scheduled => resolved
2016-01-21 14:06 hgbot Resolution open => fixed
2016-01-21 14:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q4.2/rev/51a2befdaed15dc4d765e841eb0695974ce562ca [^]
2016-01-21 15:19 alostale Review Assigned To => caristu
2016-01-21 16:53 caristu Note Added: 0083508
2016-01-21 16:53 caristu Note Edited: 0083508 View Revisions
2016-01-21 16:54 caristu Note Deleted: 0083508
2016-01-21 16:54 caristu Note Added: 0083509
2016-01-21 16:54 caristu Status resolved => closed
2016-01-21 16:54 caristu Fixed in Version => 3.0PR15Q4.2


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker