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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031973
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajorhave not tried2016-01-21 11:052016-03-17 10:54
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PriorityimmediateResolutionfixedFixed in Version3.0PR16Q2
StatusclosedFix in branchFixed in SCM revisionf8de3bcd78f3
ProjectionnoneETAnoneTarget Version
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

0031973: 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 ]
related to defect 0031959 closedcaristu Incorrect posting data when not defining an external connection pool on the Openbravo.properties 
depends on backport 00319743.0PR16Q1 closedalostale detect situation created by issue 31959 
depends on backport 00319753.0PR15Q4.2 closedalostale detect situation created by issue 31959 

-  Notes
(0083498)
hgbot (developer)
2016-01-21 14:05

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

fixed issue 31973: 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
---
(0083506)
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.

(0085062)
hudsonbot (developer)
2016-03-17 10:54

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/b22fb0500156 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2016-01-21 11:05 alostale New Issue
2016-01-21 11:05 alostale Assigned To => alostale
2016-01-21 11:05 alostale Modules => Core
2016-01-21 11:05 alostale Triggers an Emergency Pack => No
2016-01-21 11:05 alostale Summary detect situation created by issue 0031959 => detect situation created by issue 31959
2016-01-21 11:05 alostale Relationship added related to 0031959
2016-01-21 11:06 alostale Status new => acknowledged
2016-01-21 11:06 alostale Status acknowledged => scheduled
2016-01-21 14:05 hgbot Checkin
2016-01-21 14:05 hgbot Note Added: 0083498
2016-01-21 14:05 hgbot Status scheduled => resolved
2016-01-21 14:05 hgbot Resolution open => fixed
2016-01-21 14:05 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f8de3bcd78f39e8591a0c0f268a206c4cfdb3298 [^]
2016-01-21 15:19 alostale Review Assigned To => caristu
2016-01-21 16:52 caristu Note Added: 0083506
2016-01-21 16:52 caristu Status resolved => closed
2016-01-21 16:52 caristu Fixed in Version => pi
2016-01-21 16:52 caristu Fixed in Version pi => 3.0PR16Q2
2016-01-21 16:54 caristu Note Edited: 0083506 View Revisions
2016-01-21 16:55 caristu Note Edited: 0083506 View Revisions
2016-03-17 10:54 hudsonbot Checkin
2016-03-17 10:54 hudsonbot Note Added: 0085062


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker