smas1 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

OLeditor CAD Tools causes geoext error #351

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. OLeditor and print function are suited in the toolbar
2. activate oleditor by clicking the toolbar icon
3. activate CAD tools
4. click the print direct function
5. error - no output, the app hangs:
Meldung: 'undefined' ist Null oder kein Objekt
Zeile: 946
Zeichen: 21
Code: 0
URI: http://isd.bku-web.db.de/LIB/heron-trunk/lib/override-geoext.js

If you have ONCE activated the cad tools, you will get this error.

Original issue reported on code.google.com by wolfram.winter on 24 Mar 2014 at 8:24

GoogleCodeExporter commented 9 years ago
Yes I see a problem, though it is different from yours: when using CAD Tools I 
see an exception in GeoExt code: VectorLegend.onFeaturesAdded(). But I can 
still use direct print. This is on Mac OSX with Chrome.
See screenshot.

But your error also points to code related to VectorLegend: line 946 in 
override-geoext.js is related to encoding VectorLegends for printing.

So we can conclude that something is wrong in the combination CAD 
Tools+VectorLegend. I think this can be caused by the fact that OLE tools use 
VectorLayers also to draw the CAD Tools guides.

Best is always to step-wise debug using Heron and GeoExt debug versions. I am 
quite busy now but I think it is a matter of some null check in GeoExt code, to 
be placed in override-geoext.js.

Original comment by jus...@gmail.com on 24 Mar 2014 at 9:52

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by jus...@gmail.com on 14 Apr 2014 at 2:57