Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031525Retail ModulesWeb POSpublic2015-11-18 17:522015-11-23 15:54
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
RR16Q1 
migueldejuana
No
0031525: Mobile server controller: code review comments & add trigger
The following code review comments were received for the mobile server controller changes. They need to be visited and followed up. In addition we need to add a trigger to mobile services table for checking in-development of related module.

Things todo/change:
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/aec490774ae764d37620b2920e42c992f59c7f50 [^]

Check src/org/openbravo/mobile/core/login/ContextInformation.java for hql injection
Check methods of new classes in org/openbravo/mobile/core/servercontroller to see which methods can be public
Enable test existing javadoc in code, to check for javadoc on new code
Check usage of flush and related remarks //clean up, if the comment is needed (line marker 15.70 in changeset)
Add a todo in adding http:// before localserverurl (line marker 15.52), todo to possibly add validation rule
Check usage of hql query build with string concatenation instead of using hql parameters (line marker: 17.44 and 17.63 in changeset)
Check usage of OBContext.setAdminMode should use the version with parameter on true
No tags attached.
related to feature request 0030319RR16Q1 closed migueldejuana Implement Store Server Offline Controller 
Issue History
2015-11-18 17:52mtaalNew Issue
2015-11-18 17:52mtaalAssigned To => mtaal
2015-11-18 17:52mtaalTriggers an Emergency Pack => No
2015-11-19 12:10mtaalRelationship addedrelated to 0030319
2015-11-20 10:40mtaalStatusnew => scheduled
2015-11-20 11:57mtaalReview Assigned To => migueldejuana
2015-11-22 15:49hgbotCheckin
2015-11-22 15:49hgbotNote Added: 0082047
2015-11-22 15:49hgbotCheckin
2015-11-22 15:49hgbotNote Added: 0082048
2015-11-22 15:49hgbotStatusscheduled => resolved
2015-11-22 15:49hgbotResolutionopen => fixed
2015-11-22 15:49hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/24486a95dc59dae0a567716e6791c783043877c9 [^]
2015-11-23 15:54migueldejuanaNote Added: 0082100
2015-11-23 15:54migueldejuanaStatusresolved => closed

Notes
(0082047)
hgbot   
2015-11-22 15:49   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 1f86d08c2174dbb8a9049c551489e78eb11b9038
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat Nov 21 22:14:22 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/1f86d08c2174dbb8a9049c551489e78eb11b9038 [^]

Related to issue 31525: Mobile server controller: code review comments & add trigger
Various changes covering the code review comments

---
M src/org/openbravo/mobile/core/servercontroller/MobileMainServerCheck.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerController.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerJSONProcess.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerMessageProcessor.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerRequestExecutor.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerStatusInformation.java
M src/org/openbravo/mobile/core/servercontroller/MobileServerUtils.java
---
(0082048)
hgbot   
2015-11-22 15:49   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 24486a95dc59dae0a567716e6791c783043877c9
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Sat Nov 21 23:28:39 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/24486a95dc59dae0a567716e6791c783043877c9 [^]

Fixes issue 31525: Mobile server controller: code review comments & add trigger
Adding module trigger

---
A src-db/database/model/triggers/OBMOBC_SERVICES_MOD_TRG.xml
---
(0082100)
migueldejuana   
2015-11-23 15:54   
Tested and reviewed in 4881004e9775