-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pdf Format Handling For render_respond_to_format_with_error_message #3414
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
![Screenshot from 2024-04-17 15-22-51](https://private-user-images.githubusercontent.com/71047780/323382933-d410014e-613b-41b1-aa16-9bd1015c7b29.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwMjQyOTgsIm5iZiI6MTcyNjAyMzk5OCwicGF0aCI6Ii83MTA0Nzc4MC8zMjMzODI5MzMtZDQxMDAxNGUtNjEzYi00MWIxLWFhMTYtOWJkMTAxNWM3YjI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDAzMDYzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdiNzA2N2E3YjJmMWRhY2E5YmZhMTUwZDQ1ZGY5OGVkOWE3MjJlMzkyOThkZWVkNWZiZjE4MmMwMDZiOTUzMjMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5xx58i7lrM_Uwl-tyQyw47N6uB9CJ-Rr4eYe4JliofM)
/plans/99999
should return the following:One might expect the same behaviour when
/plans/99999/export.pdf?export%5Bquestion_headings%5D=true
is requestedActual behaviour:
ActionController::UnknownFormat
error is encountered insteadThe text was updated successfully, but these errors were encountered: