Opened 12 years ago

Closed 12 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 adube)

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 adube, 12 years ago

Description: modified (diff)
Keywords: bis-1.6.0 added
Milestone: Future1.6.0
Owner: set to adube
Priority: majorcritical
Summary: GeoExtPrintForm - always send rotationGeoExtPrintForm - send all fields

comment:2 by adube, 12 years ago

Description: modified (diff)

comment:3 by adube, 12 years ago

Summary: GeoExtPrintForm - send all fieldsGeoExtPrintForm - include all form fields in spec sent

comment:4 by adube, 12 years ago

Description: modified (diff)

comment:5 by adube, 12 years ago

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.

comment:6 by adube, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r1384.

Note: See TracTickets for help on using tickets.