Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0032856 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Mobile Procurement | major | always | 2016-05-02 13:38 | 2016-05-24 16:06 | |||
Reporter | aaroncalero | View Status | public | |||||
Assigned To | Retail | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | RR16Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 3579d7ae5551 | ||||
Projection | none | ETA | none | Target Version | RR16Q2 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | Orekaria | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | Coding ( Testing ) | |||||||
Regression date | 2016-02-26 | |||||||
Regression introduced in release | ||||||||
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/11fec6225502 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0032856: Mobile Core depends on Posterminal to work | |||||||
Description | When a mobile application (not Posterminal) is installed (along with Mobile Core) and the user tries to log in the mobile application, the following error appears in the browser console: xhr.js:43 GET http://localhost:8080/openbravo/org.openbravo.mobile.core/OBPOS_Main/ApplicationFormats?0.860780618590167 [^] 500 (Internal Server Error) | |||||||
Steps To Reproduce | Using Mobile Procurement as example: In a clean erp installation: *Install Mobile Core and Mobile Procurement modules *Configure a Mobile Procurement terminal (http://wiki.openbravo.com/wiki/Mobile_Procurement:Configuration_Guide [^]) *Go to the Mobile Procurement application url: http://<context>/openbravo/web/org.openbravo.mobile.procurement/?terminal=<configured [^] terminal> Login in the application. Verify that the login process is stuck in the Reading Terminal Properties step. Verify on the browser console that the error mentioned above is shown in an infinite loop. Close the browser to prevent crashes. | |||||||
Proposed Solution | The following line in mobile core forces a dependence to posterminal: https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/tip/web/org.openbravo.mobile.core/source/model/ob-terminal-model.js#l72 [^] If that line is reverted to: applicationFormatUrl: '../../org.openbravo.mobile.core/OBCLKER_Kernel/Application', Apparently the mobile application can login normally. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0086240) hgbot (developer) 2016-05-06 10:15 |
Repository: retail/backports/3.0RR16Q2/org.openbravo.mobile.core Changeset: 3579d7ae5551483de0a1616fcfbe6de353f8387c Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Fri May 06 10:15:02 2016 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.mobile.core/rev/3579d7ae5551483de0a1616fcfbe6de353f8387c [^] Fixed issue 0032856: Mobile Core depends on Posterminal to work - Call kernel Application servlet instead of ApplicationsFormat(posterminal) - Send login handler servicename for each mobile app - Add default mobile.core login handler --- M src-db/database/sourcedata/OBMOBC_SERVICES.xml M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js --- |
(0086242) migueldejuana (viewer) 2016-05-06 10:18 |
Repository: retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal Changeset: 35db056d3461184896bfed83359d064c72ee87df Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Fri May 06 10:16:22 2016 +0200 URL: http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal/rev/35db056d3461184896bfed83359d064c72ee87df [^] [^] Fixed issue 0032824: Mobile Core depends on Posterminal to work - Add ApplicationsFormat service and change POSLoginHandler replacing / with . because now we send 'loginHandlerUrl attribute' --- M src-db/database/sourcedata/OBMOBC_SERVICES.xml |
![]() |
|||
Date Modified | Username | Field | Change |
2016-05-04 13:27 | migueldejuana | Type | defect => backport |
2016-05-04 13:27 | migueldejuana | Target Version | => RR16Q2 |
2016-05-06 10:15 | hgbot | Checkin | |
2016-05-06 10:15 | hgbot | Note Added: 0086240 | |
2016-05-06 10:15 | hgbot | Status | scheduled => resolved |
2016-05-06 10:15 | hgbot | Resolution | open => fixed |
2016-05-06 10:15 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.mobile.core/rev/3579d7ae5551483de0a1616fcfbe6de353f8387c [^] |
2016-05-06 10:18 | migueldejuana | Note Added: 0086242 | |
2016-05-24 16:06 | Orekaria | Review Assigned To | => Orekaria |
2016-05-24 16:06 | Orekaria | Status | resolved => closed |
2016-05-24 16:06 | Orekaria | Fixed in Version | => RR16Q2 |
Copyright © 2000 - 2009 MantisBT Group |