nini9140 / jzebra

Automatically exported from code.google.com/p/jzebra
0 stars 0 forks source link

jzebraReady failed after multiple reprints, firefox #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes when trying to re-print a label for a second time I get the following 
error:

FireFox Fire Bug:
applet.getVersion is not a function
http://pw991.livedatauk.com/admincp/index.php?pg=barcodes&id=27107&r=ALL
Line 45

INFO: ===== JAVASCRIPT LISTENER THREAD STOPPED =====
12-Jun-2012 14:11:52 jzebra.LogIt log
INFO: jZebra 1.4.1
12-Jun-2012 14:11:52 jzebra.LogIt log
INFO: ===== JAVASCRIPT LISTENER THREAD STARTED =====
12-Jun-2012 14:11:52 jzebra.LogIt log
WARNING: Tried calling JavaScript "jzebraReady" through web browser and failed 
(JavaScript error while calling "jzebraReady")

Original issue reported on code.google.com by tres.fin...@gmail.com on 12 Jun 2012 at 2:37

GoogleCodeExporter commented 9 years ago
A second report of this bug by Pratista via the mailing list:

after testing it further with other browsers & JRE version, here is
the result:

FF11 with JRE 6 or 7 still exhibit the same problem
other browser (ie, chrome) with any JRE version doesn't have any
problem

my application uses cakephp + jquery,
after requesting an ajax process with post method,
the applet closes itself after showing some error log.

the problem step by step:
- user click a button.
- jzebra print barcode.
- the ajax process modify (remove / append) some element on the page.
- the applet closes itself.
- applet gone and can't print another barcode.

Original comment by tres.fin...@gmail.com on 12 Jun 2012 at 2:39

GoogleCodeExporter commented 9 years ago
This bug seems to be a problem with the way ajax, Firefox and Java behave 
together, forcing an unintended reload of the applet.  I'm not yet sure how to 
fix this.

Original comment by tres.fin...@gmail.com on 12 Jun 2012 at 2:40

GoogleCodeExporter commented 9 years ago
Description has a link for livedata, which needs to be removed.  Recreating a 
new bug report without livedata URL.

Original comment by tres.fin...@gmail.com on 12 Jun 2012 at 2:45