Opened 15 years ago
Closed 15 years ago
#66 closed defect (fixed)
Set up the MapFish print server on geoprisma.org
Reported by: | yvesm | Owned by: | yvesm |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | documentation | Version: | |
Keywords: | Cc: |
Description
We've got a PDFPrint widget that needs a server-side companion.
Attachments (1)
Change History (4)
comment:1 by , 15 years ago
Status: | new → assigned |
---|
by , 15 years ago
Attachment: | print_proxy.patch added |
---|
comment:2 by , 15 years ago
We found what the issue was : the path returned is sometimes plain text and sometimes a JSON object. Please test patch on your setups.
Also, the print server location being specified in the samples location will result in svn up overriding the print server location, so the sample on geoprisma.org won't work. Move this in some other place in the widget ?
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
The print server is up and running, but the PDFPrint widget does not work on geoprisma.org. After a few email exchanges with the developer, he realized the code expects layers to be in a JavaScript array (e.g. to assign baseURL), which is not the case on geoprisma.org.
I'll let him commit more generic code since it's no use changing SVN'ed files on the server as they'll get overwritten. Then I'll get the widget working on geoprisma.org.
NOTES : CURLOPT_URL used for tests : http://localhost:9998/print-servlet-1.2-SNAPSHOT/pdf/create.json