Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031811Retail ModulesWeb POSpublic2016-01-04 06:032016-02-18 17:47
mtaal 
migueldejuana 
normalminorhave not tried
closedfixed 
5
 
RR16Q2RR16Q2 
Orekaria
No
0031811: [Multiserver] Enable multi-server for more modules, include check script
Multi-server is not enabled for all modules in ret-modules test.

This feature request is to enable any remaining modules, or explicitly exclude them for now.

In addition as part of this feature request a check script can be added to the code to identify any services which are missing from the service definition.
- Apply attached diff
   * Add services to the Mobile Services Window.
   * Load services before having terminal loaded.
   * Show a warning if all services are not well defined.
- Go to mobile application modules (warehouse, procurement ...) and load server and services in the login process or try to do that in mobile.core module.
- Go module by module, request by request defined them in the Mobile Services and if it is a Transaction request, set to the request a messageId.
See steps to reproduce

A longer term goal is also to include a multi-server test environment, but this is out of scope for this feature request.
No tags attached.
related to design defect 0031565RR16Q1 closed migueldejuana [Multiserver] We need to enable multiserver for all modules 
has duplicate backport 0031773RR16Q2 closed migueldejuana Proper error messages should be shown when a service is not registered in the Mobile Services window 
diff ServicesPosterminal.diff (13,829) 2016-01-04 06:03
https://issues.openbravo.com/file_download.php?file_id=8887&type=bug
diff ServicesCore.diff (5,332) 2016-01-04 06:03
https://issues.openbravo.com/file_download.php?file_id=8888&type=bug
Issue History
2016-01-04 06:03mtaalNew Issue
2016-01-04 06:03mtaalAssigned To => migueldejuana
2016-01-04 06:03mtaalFile Added: ServicesPosterminal.diff
2016-01-04 06:03mtaalTriggers an Emergency Pack => No
2016-01-04 06:03mtaalFile Added: ServicesCore.diff
2016-01-04 06:04mtaalRelationship addedrelated to 0031565
2016-01-13 11:20hgbotCheckin
2016-01-13 11:20hgbotNote Added: 0083230
2016-01-13 11:20hgbotStatusnew => resolved
2016-01-13 11:20hgbotResolutionopen => fixed
2016-01-13 11:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.scaledprice/rev/8902d6e35eda7f50e1cd976dc7abf62d74f68c6c [^]
2016-01-15 09:17hgbotCheckin
2016-01-15 09:17hgbotNote Added: 0083325
2016-01-15 09:17hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.scaledprice/rev/8902d6e35eda7f50e1cd976dc7abf62d74f68c6c [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/13bac7875d04bfc64bd1d52eb633a4108a8a6a9b [^]
2016-01-20 13:28guilleaerRelationship addedrelated to 0031773
2016-01-20 22:44mtaalReview Assigned To => mtaal
2016-01-21 22:45hgbotCheckin
2016-01-21 22:45hgbotNote Added: 0083513
2016-01-21 22:45hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/13bac7875d04bfc64bd1d52eb633a4108a8a6a9b [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bfbce728f510704c6016462f63b63d3b0c631685 [^]
2016-01-22 08:14hgbotCheckin
2016-01-22 08:14hgbotNote Added: 0083515
2016-01-22 08:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bfbce728f510704c6016462f63b63d3b0c631685 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8acbaeb202c2f2a4d0faa2d825a02fae65234eef [^]
2016-01-22 08:14hgbotCheckin
2016-01-22 08:14hgbotNote Added: 0083516
2016-01-22 08:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8acbaeb202c2f2a4d0faa2d825a02fae65234eef [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5bc4f26bef8e4f6ce587a1c580c626d44c031251 [^]
2016-01-22 08:14hgbotCheckin
2016-01-22 08:14hgbotNote Added: 0083517
2016-01-22 08:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5bc4f26bef8e4f6ce587a1c580c626d44c031251 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dc87ee761ac8993d36217750c8b593ceb18e3693 [^]
2016-01-22 08:14hgbotCheckin
2016-01-22 08:14hgbotNote Added: 0083518
2016-01-22 08:14hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dc87ee761ac8993d36217750c8b593ceb18e3693 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3619e6beace26646929980488ed1256d0474f620 [^]
2016-01-22 08:44migueldejuanaRelationship replacedhas duplicate 0031773
2016-01-22 12:29mtaalReview Assigned Tomtaal => Orekaria
2016-02-16 12:24dmitry_mezentsevNote Added: 0084238
2016-02-18 17:47OrekariaNote Added: 0084337
2016-02-18 17:47OrekariaStatusresolved => closed
2016-02-18 17:47OrekariaFixed in Version => RR16Q2
2016-02-18 17:48OrekariaNote Edited: 0084337bug_revision_view_page.php?bugnote_id=0084337#r11172

Notes
(0083230)
hgbot   
2016-01-13 11:20   
Repository: erp/pmods/org.openbravo.retail.discounts.scaledprice
Changeset: 8902d6e35eda7f50e1cd976dc7abf62d74f68c6c
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Wed Jan 13 11:20:32 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.scaledprice/rev/8902d6e35eda7f50e1cd976dc7abf62d74f68c6c [^]

Fixed issue 0031811: [Multiserver] Enable multi-server for more modules, include check script

---
A src-db/database/sourcedata/OBMOBC_SERVICES.xml
---
(0083325)
hgbot   
2016-01-15 09:17   
Repository: erp/pmods/org.openbravo.retail.sessions
Changeset: 13bac7875d04bfc64bd1d52eb633a4108a8a6a9b
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Jan 15 09:17:16 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.sessions/rev/13bac7875d04bfc64bd1d52eb633a4108a8a6a9b [^]

Fixed issue 0031811: [Multiserver] Enable multi-server for more modules, include check script

- Remove an space

---
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
---
(0083513)
hgbot   
2016-01-21 22:45   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: bfbce728f510704c6016462f63b63d3b0c631685
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Thu Jan 14 14:33:50 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/bfbce728f510704c6016462f63b63d3b0c631685 [^]

Fixed issue 0031811: [Multiserver] Enable multi-server for more modules, include check script

- Add missing service
- Add message if service is not defined or if it is wrong defined
- Split server and services logic

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
M web/org.openbravo.mobile.core/source/data/ob-requestrouter.js
---
(0083515)
hgbot   
2016-01-22 08:14   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 8acbaeb202c2f2a4d0faa2d825a02fae65234eef
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Jan 15 07:59:03 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8acbaeb202c2f2a4d0faa2d825a02fae65234eef [^]

Fixed issue 0031811: [Multiserver] Enable multi-server for more modules, include check script

- Wrong services order

---
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
---
(0083516)
hgbot   
2016-01-22 08:14   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 5bc4f26bef8e4f6ce587a1c580c626d44c031251
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Jan 15 09:06:14 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5bc4f26bef8e4f6ce587a1c580c626d44c031251 [^]

Fixed issue 0031811: [Multiserver] Enable multi-server for more modules, include check script

- Change services place in the xml because the merge

---
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
---
(0083517)
hgbot   
2016-01-22 08:14   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: dc87ee761ac8993d36217750c8b593ceb18e3693
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Jan 15 09:38:53 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/dc87ee761ac8993d36217750c8b593ceb18e3693 [^]

Fixed issue 0031811: [Multiserver] Enable multi-server for more modules, include check script

- Add missing service

---
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
---
(0083518)
hgbot   
2016-01-22 08:14   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3619e6beace26646929980488ed1256d0474f620
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Jan 15 11:07:25 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3619e6beace26646929980488ed1256d0474f620 [^]

Fixed issue 0031811: [Multiserver] Enable multi-server for more modules, include check script

- Change service position

---
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
---
(0084238)
dmitry_mezentsev   
2016-02-16 12:24   
Not closed for 34 days!!!
(0084337)
Orekaria   
2016-02-18 17:47   
(edited on: 2016-02-18 17:48)
Verified that when the 'org.openbravo.mobile.core.context' (example) mobileservice is removed the following message is shown:

The service does not exist. Add it to the Mobile Services window in the backend (service requested: '../../org.openbravo.mobile.core.context''); line: OB.RR.Request.Backbone.Model.extend.exec