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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032825
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Mobile Procurementmajoralways2016-05-02 13:392016-05-17 15:44
ReporteraaroncaleroView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032825: Mobile Core depends on Posterminal to work

DescriptionWhen 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 ReproduceUsing 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 SolutionThe following line in mobile core forces a dependence to posterminal:
https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/file/11fec6225502/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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0032824 closedmigueldejuana Mobile Core depends on Posterminal to work 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2016-05-02 13:39 aaroncalero New Issue
2016-05-02 13:39 aaroncalero Assigned To => Retail
2016-05-02 13:39 aaroncalero Triggers an Emergency Pack => No
2016-05-17 15:34 ranjith_qualiantech_com Relationship added duplicate of 0032824
2016-05-17 15:44 aaroncalero Status new => closed
2016-05-17 15:44 aaroncalero Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker