Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0032824 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Mobile Procurement | major | always | 2016-05-02 13:38 | 2016-06-02 16:28 | |||
Reporter | aaroncalero | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 35db056d3461 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
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 | 0032824: 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 | ||||||||
![]() |
||||||||||||||||||||||
|
![]() |
|
(0086183) hgbot (developer) 2016-05-04 16:30 |
Repository: erp/pmods/org.openbravo.mobile.procurement Changeset: 4625d9d8c2407f4763df31b96310e99b6d9d0312 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed May 04 16:29:46 2016 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.procurement/rev/4625d9d8c2407f4763df31b96310e99b6d9d0312 [^] Fixed issue 0032824: Mobile Core depends on Posterminal to work - Add procurement login handler service --- M src-db/database/sourcedata/OBMOBC_SERVICES.xml --- |
(0086190) hgbot (developer) 2016-05-04 19:35 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 8a544420531c18b425d014f9679f5591cfaf2c56 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed May 04 16:27:05 2016 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8a544420531c18b425d014f9679f5591cfaf2c56 [^] Fixed issue 0032824: Mobile Core depends on Posterminal to work - Add procurement login handler to services and remove ApplicationsFormats - Call kernel Application servlet instead of ApplicationsFormat(posterminal) - Send login handler servicename for each mobile app --- M src-db/database/sourcedata/OBMOBC_SERVICES.xml M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js --- |
(0086191) hgbot (developer) 2016-05-04 19:35 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 71f14286076f32dc6f33faddb5fb1bd9a70152fd Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed May 04 18:35:02 2016 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/71f14286076f32dc6f33faddb5fb1bd9a70152fd [^] Fixed issue 0032824: Mobile Core depends on Posterminal to work - Add default mobile.core login handler --- M src-db/database/sourcedata/OBMOBC_SERVICES.xml --- |
(0086192) hgbot (developer) 2016-05-04 19:35 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: f362383ba3f1aed59b11a6964bcbe094d3acdaff Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed May 04 16:32:17 2016 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f362383ba3f1aed59b11a6964bcbe094d3acdaff [^] 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 --- |
(0086241) hgbot (developer) 2016-05-06 10:16 |
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 --- |
(0086884) dmitry_mezentsev (viewer) 2016-06-01 10:38 |
Not closed for 28 days!!! Please react ASAP. |
![]() |
|||
Date Modified | Username | Field | Change |
2016-05-02 13:38 | aaroncalero | New Issue | |
2016-05-02 13:38 | aaroncalero | Assigned To | => Retail |
2016-05-02 13:38 | aaroncalero | OBNetwork customer | => No |
2016-05-02 13:38 | aaroncalero | Triggers an Emergency Pack | => No |
2016-05-02 17:43 | aaroncalero | Regression level | => Coding ( Testing ) |
2016-05-02 17:43 | aaroncalero | Regression date | => 2016-02-26 |
2016-05-02 17:43 | aaroncalero | Regression introduced by commit | => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/11fec6225502 [^] |
2016-05-02 17:44 | aaroncalero | Proposed Solution updated | |
2016-05-02 18:11 | aaroncalero | Priority | high => immediate |
2016-05-02 18:37 | Orekaria | Relationship added | caused by 0032356 |
2016-05-02 18:38 | Orekaria | Status | new => acknowledged |
2016-05-04 13:27 | migueldejuana | Status | acknowledged => scheduled |
2016-05-04 13:27 | migueldejuana | Assigned To | Retail => migueldejuana |
2016-05-04 16:30 | hgbot | Checkin | |
2016-05-04 16:30 | hgbot | Note Added: 0086183 | |
2016-05-04 16:30 | hgbot | Status | scheduled => resolved |
2016-05-04 16:30 | hgbot | Resolution | open => fixed |
2016-05-04 16:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.procurement/rev/4625d9d8c2407f4763df31b96310e99b6d9d0312 [^] |
2016-05-04 19:35 | hgbot | Checkin | |
2016-05-04 19:35 | hgbot | Note Added: 0086190 | |
2016-05-04 19:35 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.procurement/rev/4625d9d8c2407f4763df31b96310e99b6d9d0312 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8a544420531c18b425d014f9679f5591cfaf2c56 [^] |
2016-05-04 19:35 | hgbot | Checkin | |
2016-05-04 19:35 | hgbot | Note Added: 0086191 | |
2016-05-04 19:35 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/8a544420531c18b425d014f9679f5591cfaf2c56 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/71f14286076f32dc6f33faddb5fb1bd9a70152fd [^] |
2016-05-04 19:35 | hgbot | Checkin | |
2016-05-04 19:35 | hgbot | Note Added: 0086192 | |
2016-05-04 19:35 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/71f14286076f32dc6f33faddb5fb1bd9a70152fd [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f362383ba3f1aed59b11a6964bcbe094d3acdaff [^] |
2016-05-06 10:16 | hgbot | Checkin | |
2016-05-06 10:16 | hgbot | Note Added: 0086241 | |
2016-05-06 10:16 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f362383ba3f1aed59b11a6964bcbe094d3acdaff [^] => http://code.openbravo.com/retail/backports/3.0RR16Q2/org.openbravo.retail.posterminal/rev/35db056d3461184896bfed83359d064c72ee87df [^] |
2016-05-17 15:34 | ranjith_qualiantech_com | Relationship added | has duplicate 0032825 |
2016-06-01 10:38 | dmitry_mezentsev | Note Added: 0086884 | |
2016-06-02 16:28 | marvintm | Review Assigned To | => marvintm |
2016-06-02 16:28 | marvintm | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |