Skip to content
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

ActionResponse::redirect() receive an error message #6724

Open
sacriley opened this issue Feb 7, 2025 · 4 comments
Open

ActionResponse::redirect() receive an error message #6724

sacriley opened this issue Feb 7, 2025 · 4 comments
Labels
needs more info More information is required stale

Comments

@sacriley
Copy link

sacriley commented Feb 7, 2025

  • Laravel Version: 10.48.28
  • Nova Version: 5.2.1
  • PHP Version: 8.3
  • Database Driver & Version: mysql 5.7
  • Operating System and Version: centos
  • Browser type and version: chrome

Description:

I receive an error message when using the redirect() and openInNewTab() action features together in ActionResponse.
This issue did not occur in Laravel Nova version 5.1.10.

Thank you for reviewing this problem.

@crynobone
Copy link
Member

Can you provide the code snippet?

@crynobone crynobone added the needs more info More information is required label Feb 7, 2025
@sacriley
Copy link
Author

sacriley commented Feb 7, 2025

This is my code, thanks for your response

$quotation = $models[0];
return ActionResponse::openInNewTab(route('printDeliveryItemPDF', [
    'slug' => $quotation->slug,
]));

@crynobone
Copy link
Member

Can you confirm you're running the latest assets? https://nova.laravel.com/docs/v5/installation#updating-novas-assets

@crynobone
Copy link
Member

Unable to reproduce the issue, please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example)

@crynobone crynobone added the stale label Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info More information is required stale
Projects
None yet
Development

No branches or pull requests

2 participants