10000 Add pdf Format Handling For render_respond_to_format_with_error_message · Issue #3414 · DMPRoadmap/roadmap · GitHub
[go: up one dir, main page]

Skip to content
Add pdf Format Handling For render_respond_to_format_with_error_message #3414
@aaronskiba

Description

@aaronskiba

Please complete the following fields as applicable:

What version of the DMPRoadmap code are you running? (e.g. v2.2.0)

  • v4.2.0

Expected behaviour:

  • Assuming plan.id = 99999 doesn't exist in the db, then the url path /plans/99999 should return the following:
    Screenshot from 2024-04-17 15-22-51

  • One might expect the same behaviour when /plans/99999/export.pdf?export%5Bquestion_headings%5D=true is requested

Actual behaviour:

  • An ActionController::UnknownFormat error is encountered instead
    Screenshot from 2024-04-17 15-26-27

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0