Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0031134 | Retail Modules | Web POS | public | 2015-10-13 11:00 | 2015-10-23 17:02 | |||||||
Reporter | dmiguelez | |||||||||||
Assigned To | marvintm | |||||||||||
Priority | immediate | Severity | critical | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 20 | OS Version | Community Appliance | ||||||||
Product Version | ||||||||||||
Target Version | RR15Q4 | Fixed in Version | RR15Q4 | |||||||||
Merge Request Status | ||||||||||||
Review Assigned To | guilleaer | |||||||||||
OBNetwork customer | No | |||||||||||
Support ticket | ||||||||||||
Regression level | Production - Confirmed Stable | |||||||||||
Regression date | 2015-07-16 | |||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3bfd5690abf1 [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0031134: [Mobile Core] Some Code from POS is used in Mobile Core Module | |||||||||||
Description | Some Code from POS is used in Mobile Core Module making it impossible to do an install.source. | |||||||||||
Steps To Reproduce | Start with a clean Openbravo instance. Install Mobile Core Infrastructure Module. Try to do an ant install.source, it fails. compileSqlc: [javac] Compiling 2127 source files to /home/openbravo/3.0/bugs-pg-1/openbravo/erp/devel/pi/build/classes [javac] /home/openbravo/3.0/bugs-pg-1/openbravo/erp/devel/pi/modules/org.openbravo.mobile.core/src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java:43: error: package org.openbravo.retail.posterminal does not exist [javac] import org.openbravo.retail.posterminal.OBPOSApplications; [javac] ^ [javac] /home/openbravo/3.0/bugs-pg-1/openbravo/erp/devel/pi/modules/org.openbravo.mobile.core/src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java:230: error: cannot find symbol [javac] protected JSONArray getServers(OBPOSApplications terminal) throws JSONException { [javac] ^ [javac] symbol: class OBPOSApplications [javac] location: class MobileCoreLoginUtilsServlet [javac] /home/openbravo/3.0/bugs-pg-1/openbravo/erp/devel/pi/modules/org.openbravo.mobile.core/src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java:265: error: cannot find symbol [javac] protected JSONArray getServices(OBPOSApplications terminal) throws JSONException { [javac] ^ [javac] symbol: class OBPOSApplications [javac] location: class MobileCoreLoginUtilsServlet [javac] /home/openbravo/3.0/bugs-pg-1/openbravo/erp/devel/pi/modules/org.openbravo.mobile.core/src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java:286: error: cannot find symbol [javac] OBPOSApplications terminal = null; [javac] ^ [javac] symbol: class OBPOSApplications [javac] location: class MobileCoreLoginUtilsServlet [javac] /home/openbravo/3.0/bugs-pg-1/openbravo/erp/devel/pi/modules/org.openbravo.mobile.core/src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java:287: error: cannot find symbol [javac] OBCriteria<OBPOSApplications> qApp = OBDal.getInstance().createCriteria( [javac] ^ [javac] symbol: class OBPOSApplications [javac] location: class MobileCoreLoginUtilsServlet [javac] /home/openbravo/3.0/bugs-pg-1/openbravo/erp/devel/pi/modules/org.openbravo.mobile.core/src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java:288: error: cannot find symbol [javac] OBPOSApplications.class); [javac] ^ [javac] symbol: class OBPOSApplications [javac] location: class MobileCoreLoginUtilsServlet [javac] /home/openbravo/3.0/bugs-pg-1/openbravo/erp/devel/pi/modules/org.openbravo.mobile.core/src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java:289: error: cannot find symbol [javac] qApp.add(Restrictions.eq(OBPOSApplications.PROPERTY_SEARCHKEY, terminalName)); [javac] ^ [javac] symbol: variable OBPOSApplications [javac] location: class MobileCoreLoginUtilsServlet [javac] /home/openbravo/3.0/bugs-pg-1/openbravo/erp/devel/pi/modules/org.openbravo.mobile.core/src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java:292: error: cannot find symbol [javac] List<OBPOSApplications> apps = qApp.list(); [javac] ^ [javac] symbol: class OBPOSApplications [javac] location: class MobileCoreLoginUtilsServlet [javac] /home/openbravo/3.0/bugs-pg-1/openbravo/erp/devel/pi/modules/org.openbravo.mobile.core/src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java:294: error: cannot find symbol [javac] terminal = ((OBPOSApplications) apps.get(0)); [javac] ^ [javac] symbol: class OBPOSApplications [javac] location: class MobileCoreLoginUtilsServlet [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 9 errors | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2015-10-13 11:09 | mtaal | Type | defect => backport | |||||||||
2015-10-13 11:09 | mtaal | Target Version | => RR15Q4 | |||||||||
2015-10-19 07:57 | mtaal | Assigned To | mtaal => Retail | |||||||||
2015-10-22 12:40 | hgbot | Checkin | ||||||||||
2015-10-22 12:40 | hgbot | Note Added: 0081202 | ||||||||||
2015-10-22 12:40 | hgbot | Status | scheduled => resolved | |||||||||
2015-10-22 12:40 | hgbot | Resolution | open => fixed | |||||||||
2015-10-22 12:40 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/297e928356087f46b5f6c39e7af9ac6088309636 [^] | |||||||||
2015-10-22 12:41 | hgbot | Checkin | ||||||||||
2015-10-22 12:41 | hgbot | Note Added: 0081203 | ||||||||||
2015-10-22 12:41 | hgbot | Fixed in SCM revision | http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/297e928356087f46b5f6c39e7af9ac6088309636 [^] => http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.mobile.core/rev/9ef004ba430e0f65727bd791fe6f4bbeca8ac5cb [^] | |||||||||
2015-10-22 16:28 | marvintm | Assigned To | Retail => marvintm | |||||||||
2015-10-23 17:02 | guilleaer | Review Assigned To | => guilleaer | |||||||||
2015-10-23 17:02 | guilleaer | Note Added: 0081272 | ||||||||||
2015-10-23 17:02 | guilleaer | Status | resolved => closed | |||||||||
2015-10-23 17:02 | guilleaer | Fixed in Version | => RR15Q4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|