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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031134
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POScriticalalways2015-10-13 11:002015-10-23 17:02
ReporterdmiguelezView Statuspublic 
Assigned Tomarvintm 
PriorityimmediateResolutionfixedFixed in VersionRR15Q4
StatusclosedFix in branchFixed in SCM revision9ef004ba430e
ProjectionnoneETAnoneTarget VersionRR15Q4
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression levelProduction - Confirmed Stable
Regression date2015-07-16
Regression introduced in release
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/3bfd5690abf1 [^]
Triggers an Emergency PackNo
Summary

0031134: [Mobile Core] Some Code from POS is used in Mobile Core Module

DescriptionSome Code from POS is used in Mobile Core Module making it impossible to do an install.source.
Steps To ReproduceStart 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0031133 closedmtaal [Mobile Core] Some Code from POS is used in Mobile Core Module 

-  Notes
(0081202)
hgbot (developer)
2015-10-22 12:40

Repository: retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal
Changeset: 297e928356087f46b5f6c39e7af9ac6088309636
Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com>
Date: Thu Oct 22 12:40:18 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.retail.posterminal/rev/297e928356087f46b5f6c39e7af9ac6088309636 [^]

Fixed issue 31134. [Mobile Core] Some Code from POS is used in Mobile Core Module
Move code from mobile core to posterminal to make use of the pos terminal concept

---
M src/org/openbravo/retail/posterminal/LoginUtilsServlet.java
---
(0081203)
hgbot (developer)
2015-10-22 12:41

Repository: retail/backports/3.0RR15Q4/org.openbravo.mobile.core
Changeset: 9ef004ba430e0f65727bd791fe6f4bbeca8ac5cb
Author: Antonio Moreno Perez <antonio.moreno <at> openbravo.com>
Date: Thu Oct 22 12:40:57 2015 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR15Q4/org.openbravo.mobile.core/rev/9ef004ba430e0f65727bd791fe6f4bbeca8ac5cb [^]

Fixed issue 31134. [Mobile Core] Some Code from POS is used in Mobile Core Module
Move code from mobile core to posterminal to make use of the pos terminal concept

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginUtilsServlet.java
---
(0081272)
guilleaer (manager)
2015-10-23 17:02

Install source done fine just using mobile core module -> closed

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker