MassGIS / morisoliver

Automatically exported from code.google.com/p/morisoliver
2 stars 2 forks source link

OLIVER’s print.php is not printing secured GeoServer layers #122

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is Enhancement 12 in Task Order 4.

Using the Print/Save button in OLIVER creates a print layout that contains PNG 
images for each legend, the title and the map.  These images are stored on the 
GISPRWAPP1 server in the  /temp/OL_MORIS_print folder.  While secured 
datalayers will draw, export, show legends and be identified in OLIVER they 
seem to not print. The print folder on GISPRWAPP1 contains legends for the 
datalayers on the map, working up from the bottom and stopping when 
encountering a secured layer.  The print.php script may need to be updated to 
send credentials for the legend and map requests.  The Apache error_log 
contains this error:

[Fri Jan 20 17:09:55 2012] [error] [client 146.243.44.177] PHP Fatal error:  
Uncaught exception 'ImagickException' with message 'Unable to read the file: 
/opt/massgis/wwwroot/temp/OL_MORIS_print/1327097392.648441246.png' in 
/opt/massgis/wwwroot/map_ol/print.php:24\nStack trace:\n#0 
/opt/massgis/wwwroot/map_ol/print.php(24): 
Imagick->__construct('/opt/massgis/ww...')\n#1 {main}\n  thrown in 
/opt/massgis/wwwroot/map_ol/print.php on line 24, referer: 
https://maps.massgis.state.ma.us/map_ol/oliver_editing_snap_split_https_demo.php
ACCEPTANCE CRITERIA  

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 23 Jan 2012 at 2:19

GoogleCodeExporter commented 9 years ago

Original comment by Aleda.Fr...@state.ma.us on 15 Feb 2012 at 6:56

GoogleCodeExporter commented 9 years ago

Original comment by Aleda.Fr...@state.ma.us on 22 Feb 2012 at 3:59