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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034967
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] StoreServermajoralways2017-01-16 14:092017-01-16 16:20
ReportermalsasuaView Statuspublic 
Assigned Toplatform 
PrioritynormalResolutionduplicateFixed in VersionRR17Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034967: the delete client process is not finishing

DescriptionIn 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 SolutionAdd 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 [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0034756 closedSandrahuguet Transaction left open leads to database locks when updating entries from the Mobile Server window 

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker