Openbravo Issue Tracking System - Retail Modules
View Issue Details
0042121Retail ModulesWeb POS Hardware Managerpublic2019-10-25 13:402020-02-14 12:10
adrianromero 
adrianromero 
urgentmajoralways
closedfixed 
5
 
RR20Q1 
marvintm
No
0042121: Serial generic scales do not work
Connect an scale to a serial port and configure properly the properties in the hardware manager.
Observe that the hardware manager does not return any valid weight when testing the scale in the Scale panel.
There are two problems:
* The RXTX libraries used to connect to the serial port are obsolete and must be replaced.
* The logic that reads data from the serial port is broken.
In description
No tags attached.
has duplicate defect 0042016 closed Retail The hardware manager doesn't connect to COM port 
Issue History
2019-10-25 13:40adrianromeroNew Issue
2019-10-25 13:40adrianromeroAssigned To => adrianromero
2019-10-25 13:40adrianromeroTriggers an Emergency Pack => No
2019-10-28 10:53salvador_campanellaIssue Monitored: salvador_campanella
2019-10-30 08:32hgbotCheckin
2019-10-30 08:32hgbotNote Added: 0115332
2019-10-30 08:32hgbotStatusnew => resolved
2019-10-30 08:32hgbotResolutionopen => fixed
2019-10-30 08:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/rev/6766a28b293d6fad40cf4617a0df4ce40be4a817 [^]
2019-10-30 08:32hgbotCheckin
2019-10-30 08:32hgbotNote Added: 0115333
2019-10-30 08:32hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/rev/6766a28b293d6fad40cf4617a0df4ce40be4a817 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/rev/a83e2cba244a6f71bb6405aaf72a754765c433d2 [^]
2019-10-30 08:33hgbotCheckin
2019-10-30 08:33hgbotNote Added: 0115334
2019-10-30 08:33hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/rev/a83e2cba244a6f71bb6405aaf72a754765c433d2 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager/rev/59a4d2cc3b4ac4c71088a602ea182ab985a63dc9 [^]
2019-10-30 08:34adrianromeroReview Assigned To => marvintm
2019-11-04 18:06marvintmRelationship addedhas duplicate 0042016
2019-11-14 17:26marvintmStatusresolved => closed
2019-11-14 17:26marvintmFixed in Version => RR20Q1
2020-02-14 12:10eugeniIssue Monitored: eugeni

Notes
(0115332)
hgbot   
2019-10-30 08:32   
Repository: erp/pmods/org.openbravo.retail.poshwmanager.sources
Changeset: 6766a28b293d6fad40cf4617a0df4ce40be4a817
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Oct 25 13:42:41 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/rev/6766a28b293d6fad40cf4617a0df4ce40be4a817 [^]

Fixes issue 0042121: Serial generic scales do not work
* Upgrades RXTX libraries

---
M project/lib/win32/rxtxSerial.dll
M project/lib/win64/rxtxSerial.dll
M project/lib/x86_64-unknown-linux-gnu/librxtxParallel.so
M project/lib/x86_64-unknown-linux-gnu/librxtxSerial.so
---
(0115333)
hgbot   
2019-10-30 08:32   
Repository: erp/pmods/org.openbravo.retail.poshwmanager.sources
Changeset: a83e2cba244a6f71bb6405aaf72a754765c433d2
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Oct 25 13:43:35 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/rev/a83e2cba244a6f71bb6405aaf72a754765c433d2 [^]

Fixes issue 0042121: Serial generic scales do not work
* Refactor and fixes scale logic that reads data from serial port

---
M project/src/com/openbravo/pos/scale/GenericContinuousScale.java
M project/src/com/openbravo/pos/scale/GenericScale.java
M project/src/com/openbravo/pos/scale/ScaleDialog1.java
M project/src/com/openbravo/pos/scale/ScaleException.java
M project/src/com/openbravo/pos/scale/ScaleSamsungEsp.java
M project/src/com/openbravo/pos/scale/ScaleSerial.java
A project/src/com/openbravo/pos/scale/GenericScaleModel.java
A project/src/com/openbravo/pos/scale/ScaleModel.java
A project/src/com/openbravo/pos/scale/ScaleSerialContinuous.java
---
(0115334)
hgbot   
2019-10-30 08:33   
Repository: erp/pmods/org.openbravo.retail.poshwmanager
Changeset: 59a4d2cc3b4ac4c71088a602ea182ab985a63dc9
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Oct 25 13:45:31 2019 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager/rev/59a4d2cc3b4ac4c71088a602ea182ab985a63dc9 [^]

Fixes issue 0042121: Serial generic scales do not work
* Build

---
M bin/lib/win32/rxtxSerial.dll
M bin/lib/win64/rxtxSerial.dll
M bin/lib/x86_64-unknown-linux-gnu/librxtxSerial.so
M bin/poshw.jar
M bin/rev.id
---