Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0031133 | Retail Modules | Web POS | public | 2015-10-13 11:00 | 2015-11-02 15:49 | |||||||
Reporter | dmiguelez | |||||||||||
Assigned To | mtaal | |||||||||||
Priority | immediate | Severity | critical | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 20 | OS Version | Community Appliance | ||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | RR16Q1 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | ||||||||||||
Support ticket | ||||||||||||
Regression level | QA functional test | |||||||||||
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 | 0031133: [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:00 | dmiguelez | New Issue | ||||||||||
2015-10-13 11:00 | dmiguelez | Assigned To | => Retail | |||||||||
2015-10-13 11:00 | dmiguelez | Regression level | => Production - Confirmed Stable | |||||||||
2015-10-13 11:00 | dmiguelez | Regression date | => 2015-07-16 | |||||||||
2015-10-13 11:00 | dmiguelez | Regression introduced by commit | => https://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3bfd5690abf1 [^] | |||||||||
2015-10-13 11:00 | dmiguelez | Triggers an Emergency Pack | => No | |||||||||
2015-10-13 11:09 | mtaal | Assigned To | Retail => mtaal | |||||||||
2015-10-13 11:09 | mtaal | Status | new => scheduled | |||||||||
2015-10-14 01:01 | hgbot | Checkin | ||||||||||
2015-10-14 01:01 | hgbot | Note Added: 0080993 | ||||||||||
2015-10-14 01:01 | hgbot | Status | scheduled => resolved | |||||||||
2015-10-14 01:01 | hgbot | Resolution | open => fixed | |||||||||
2015-10-14 01:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/acae1e48bf25c12a3db8e61b66bd96545c7986f2 [^] | |||||||||
2015-10-14 01:02 | hgbot | Checkin | ||||||||||
2015-10-14 01:02 | hgbot | Note Added: 0080994 | ||||||||||
2015-10-14 01:02 | hgbot | Fixed in SCM revision | http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/acae1e48bf25c12a3db8e61b66bd96545c7986f2 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/8d373138e7b6ed1e2817ca841acd24fe00415d26 [^] | |||||||||
2015-10-22 08:25 | mtaal | Review Assigned To | => migueldejuana | |||||||||
2015-10-22 12:42 | marvintm | Review Assigned To | migueldejuana => marvintm | |||||||||
2015-10-22 12:42 | marvintm | Status | resolved => closed | |||||||||
2015-10-22 12:42 | marvintm | Fixed in Version | => RR16Q1 | |||||||||
2015-10-22 15:22 | migueldejuana | Relationship added | depends on 0031178 | |||||||||
2015-10-22 15:23 | migueldejuana | Relationship deleted | depends on 0031178 | |||||||||
2015-11-02 15:49 | marvintm | Regression level | Production - Confirmed Stable => QA functional test |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|