Opened 13 years ago
Closed 13 years ago
#455 closed defect (fixed)
GeoExtPrintForm - include all form fields in spec sent
Reported by: | adube | Owned by: | adube |
---|---|---|---|
Priority: | critical | Milestone: | 1.6.0 |
Component: | widgets | Version: | trunk |
Keywords: | bis-1.6.0 | Cc: |
Description (last modified by ) ¶
Issue
When not using some form fields by using the according option, for example "noRotationField", then the field is not created, thus resulting in having no "rotation" added in the spec sent.
If a config.yaml uses "rotation", MapFishPrint would throw an error about the missing field.
Solution
All fields must always be created, but hidden if not used. That way, they'll always be sent in the spec.
Change History (6)
comment:1 by , 13 years ago
Description: | modified (diff) |
---|---|
Keywords: | bis-1.6.0 added |
Milestone: | Future → 1.6.0 |
Owner: | set to |
Priority: | major → critical |
Summary: | GeoExtPrintForm - always send rotation → GeoExtPrintForm - send all fields |
comment:2 by , 13 years ago
Description: | modified (diff) |
---|
comment:3 by , 13 years ago
Summary: | GeoExtPrintForm - send all fields → GeoExtPrintForm - include all form fields in spec sent |
---|
comment:4 by , 13 years ago
Description: | modified (diff) |
---|
comment:5 by , 13 years ago
Note:
See TracTickets
for help on using tickets.
Only the custom properties needs to be specified. Rotation, Scale and Layout are already taken care of by the PrintProvider if not providen.
So, that leaves the mapTitle, mapSubtitle (already sent) and comment to take care of.