Ticket #455 (closed defect: fixed)

Opened 11 months ago

Last modified 11 months ago

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) (diff)

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

Changed 11 months ago by adube

  • description modified (diff)
  • summary changed from GeoExtPrintForm - always send rotation to GeoExtPrintForm - send all fields
  • priority changed from major to critical
  • owner set to adube
  • milestone changed from Future to 1.6.0
  • keywords bis-1.6.0 added

Changed 11 months ago by adube

  • description modified (diff)

Changed 11 months ago by adube

  • summary changed from GeoExtPrintForm - send all fields to GeoExtPrintForm - include all form fields in spec sent

Changed 11 months ago by adube

  • description modified (diff)

Changed 11 months ago by adube

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.

Changed 11 months ago by adube

  • status changed from new to closed
  • resolution set to fixed

Fixed in r1384.

Note: See TracTickets for help on using tickets.