smas1 / geoext-viewer

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

printAttribution doesn't work for printdirect #355

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have the following declaration for my printdirect:

    {type: "printdirect", options: {
        url: 'http://'+this_host+'/print2.0/pdf',
        mapTitle: 'Printed with Compass',
        mapPrintLayout:'A4 Portrait',
        mapPrintDPI: '300',
        mapComment: '', //because otherwise it has some placeholder text we don't want.
        printAttribution: true //Prints attribution from OpenLayers
    }},

However Heron isn't sending mapAttribution in the requests it makes with 
printDirect.

printdialog works fine. This is an issue because MapFish Print can choke and 
flake-out when it doesn't have a value.

Original issue reported on code.google.com by jonathan...@warwickshire.gov.uk on 31 Mar 2014 at 11:47

GoogleCodeExporter commented 9 years ago
Hi Jonathan, seems to be issue 346 - I'd fixed it in rev 1392 - are you working 
with the last trunk - printdirect works for me at this state?!

Original comment by wolfram.winter on 31 Mar 2014 at 1:50

GoogleCodeExporter commented 9 years ago
I'm using 1.0.1 so this appears to be a duplicate on my behalf. Sorry for the 
noise!

Original comment by jonathan...@warwickshire.gov.uk on 31 Mar 2014 at 3:38