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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021687
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2012-09-19 13:102012-09-28 14:38
ReporterdmiguelezView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version3.0MP15
StatusclosedFix in branchFixed in SCM revision4c4431d17dbd
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Tomarvintm
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021687: Aleatory problem when Updating database through the application

DescriptionWhen rebuilding the system through the application, the Update Database process is launch. It can collide with alert queries when this tables are being updated, and it results in an error.

It happens in smoke tests:
org.openqa.selenium.TimeoutException: Timed out after 3600 seconds waiting for com.openbravo.test.integration.erp.gui.general.application.RebuildSystemPopUp$2@1742cea
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: os.name: 'Linux', os.arch: 'i386', os.version: '2.6.32-305-ec2', java.version: '1.6.0_24'
Driver info: driver.version: unknown
    at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:251)
    at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:220)
    at com.openbravo.test.integration.erp.gui.general.application.RebuildSystemPopUp.rebuildTheSystem(RebuildSystemPopUp.java:105)
    at com.openbravo.test.integration.erp.testscripts.generalsetup.application.modulemanagement.InstalledModulesTabScript.rebuildSystemAndRestartServletContainer(InstalledModulesTabScript.java:99)
    at com.openbravo.test.integration.erp.testscripts.generalsetup.application.modulemanagement.ModuleManagement$InstalledModules.rebuildSystemAndRestartServletContainer(ModuleManagement.java:103)
    at com.openbravo.test.integration.erp.testsuites.smoke.masterdata.ADMc_SetupClientAndOrganization.clientAndOrganizationShouldBeSetUp(ADMc_SetupClientAndOrganization.java:217)
Steps To ReproduceWhen rebuilding the system through the application, the Update Database process is launch. It can collide with alert queries when this tables are being updated, and it results in an error.

It happens in smoke tests:
org.openqa.selenium.TimeoutException: Timed out after 3600 seconds waiting for com.openbravo.test.integration.erp.gui.general.application.RebuildSystemPopUp$2@1742cea
Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: os.name: 'Linux', os.arch: 'i386', os.version: '2.6.32-305-ec2', java.version: '1.6.0_24'
Driver info: driver.version: unknown
    at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:251)
    at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:220)
    at com.openbravo.test.integration.erp.gui.general.application.RebuildSystemPopUp.rebuildTheSystem(RebuildSystemPopUp.java:105)
    at com.openbravo.test.integration.erp.testscripts.generalsetup.application.modulemanagement.InstalledModulesTabScript.rebuildSystemAndRestartServletContainer(InstalledModulesTabScript.java:99)
    at com.openbravo.test.integration.erp.testscripts.generalsetup.application.modulemanagement.ModuleManagement$InstalledModules.rebuildSystemAndRestartServletContainer(ModuleManagement.java:103)
    at com.openbravo.test.integration.erp.testsuites.smoke.masterdata.ADMc_SetupClientAndOrganization.clientAndOrganizationShouldBeSetUp(ADMc_SetupClientAndOrganization.java:217)
TagsNo tags attached.
Attached Filespng file icon clientAndOrganizationShouldBeSetUp.png [^] (54,911 bytes) 2012-09-19 13:10

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00228383.0MP21 closedshankarb DAL should not be used to update session last ping 

-  Notes
(0052338)
AugustoMauch (manager)
2012-09-24 13:02

Test plan:
- Check that if the system is not being rebuilt the alerts are executed as usual.
- Check that if the system is being rebuilt, the alerts are not executed at all.
(0052339)
hgbot (developer)
2012-09-24 13:03

Repository: erp/devel/pi
Changeset: 4c4431d17dbd53b6673159b53b11c22ba3973874
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Mon Sep 24 13:00:34 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/4c4431d17dbd53b6673159b53b11c22ba3973874 [^]

Fixes issue 21687: Alerts are not executed when the system is being rebuilt

If the system is being rebuilt, there is no point in executing the alerts, so now if the system is being rebuilt using the ERP, the alerts will not be executed.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/AlertActionHandler.java
---
(0052885)
hudsonbot (developer)
2012-09-28 14:38

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/6d2f8cffd4b1 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-09-19 13:10 dmiguelez New Issue
2012-09-19 13:10 dmiguelez Assigned To => AugustoMauch
2012-09-19 13:10 dmiguelez File Added: clientAndOrganizationShouldBeSetUp.png
2012-09-19 13:10 dmiguelez Modules => Core
2012-09-24 13:01 AugustoMauch Issue Monitored: marvintm
2012-09-24 13:02 AugustoMauch Closed by => marvintm
2012-09-24 13:02 AugustoMauch Note Added: 0052338
2012-09-24 13:03 hgbot Checkin
2012-09-24 13:03 hgbot Note Added: 0052339
2012-09-24 13:03 hgbot Status new => resolved
2012-09-24 13:03 hgbot Resolution open => fixed
2012-09-24 13:03 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/4c4431d17dbd53b6673159b53b11c22ba3973874 [^]
2012-09-25 11:11 marvintm Status resolved => closed
2012-09-25 11:11 marvintm Fixed in Version => 3.0MP15
2012-09-28 14:38 hudsonbot Checkin
2012-09-28 14:38 hudsonbot Note Added: 0052885
2013-01-18 10:57 AugustoMauch Relationship added related to 0022838


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker