Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0034967 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] StoreServer | major | always | 2017-01-16 14:09 | 2017-01-16 16:20 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | platform | |||||||
Priority | normal | Resolution | duplicate | Fixed in Version | RR17Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | caristu | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0034967: the delete client process is not finishing | |||||||
Description | In a instance with mobile core module, and the property mobile_server_key no defined, the delete client process is blocked and it is not finishing. The problem is in this line https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/0341cbbaf0aa/src/org/openbravo/mobile/core/listener/SetCurrentMobileServerListener.java#l46 [^] is executing one update, but if the varialbe "serverkey" is null, the connection is not closed, and the table OBMOBC_SERVER_DEFINITION is locked: https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/0341cbbaf0aa/src/org/openbravo/mobile/core/listener/SetCurrentMobileServerListener.java#l49 [^] | |||||||
Steps To Reproduce | . install retail modules . as system administrator: . initial client setup: . create a new client . delete client process: . delete the previous client created the delete process never finish, it is locked in this database command: ALTER TABLE OBMOBC_SERVER_DEFINITION DROP CONSTRAINT OBMOBC_SERV_DEF_ALLORG_CHK | |||||||
Proposed Solution | Add OBDal.getInstance().commitAndClose(); in this line https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/0341cbbaf0aa/src/org/openbravo/mobile/core/listener/SetCurrentMobileServerListener.java#l71 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2017-01-16 14:09 | malsasua | New Issue | |
2017-01-16 14:09 | malsasua | Assigned To | => platform |
2017-01-16 14:09 | malsasua | Modules | => Core |
2017-01-16 14:09 | malsasua | Resolution time | => 1485817200 |
2017-01-16 14:09 | malsasua | Triggers an Emergency Pack | => No |
2017-01-16 16:18 | caristu | Project | Openbravo ERP => Retail Modules |
2017-01-16 16:19 | caristu | Category | A. Platform => StoreServer |
2017-01-16 16:20 | caristu | Review Assigned To | => caristu |
2017-01-16 16:20 | caristu | Relationship added | duplicate of 0034756 |
2017-01-16 16:20 | caristu | Status | new => closed |
2017-01-16 16:20 | caristu | Resolution | open => duplicate |
2017-01-16 16:20 | caristu | Fixed in Version | => RR17Q1 |
Copyright © 2000 - 2009 MantisBT Group |