Skip to content

Error generating Public DMP export for plans with multiple phases #492

@briri

Description

@briri

The current public_export method in the plans_controller generates an error if you try to export a plan whose template has multiple phases (e.g. Horizon2020 - see "Jose's Plan" on roadmap-stg). The method attempts to loop through the phases and generate a pdf for each one which results in the following error from the controller:
AbstractController::DoubleRenderError in PlansController#public_export

@sjDCC @stephaniesimms How do we want to handle the export of a public DMP with multiple phases (e.g. Horizon2020)? The plan export for logged in users allows them to select which phase they want to export and a PDF is generated for a specific phase. The public DMPs page though doesn't currently offer this. Do we want to just generate one PDF that contains all phases?

related to #84

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions