Sulu Version | 3.0.5 (redirectBundle 3.0.0-RC1)
-- | --
PHP Version | 8.5
-- | --
DB Version | 14.22
Actual Behavior
When attempting to upload a CSV file for redirect import via the Sulu admin interface, an error is thrown immediately:
Error - redirects.csv has invalid type. Allowed types are (text/csv)
This happens instantly without any network request being sent.
Additionally, exporting redirects results in an error. The following URL is triggered:
/admin/api/redirect-routes.csv?flat=true&delimiter=;&escape=\&enclosure="&newLine=\n
After that, the admin interface appears to be broken.
However, importing redirects via the CLI works without any issues:
bin/adminconsole sulu:redirect:import
Expected Behavior
-
CSV import via the admin UI should accept valid
.csv files and send the request properly.
-
CSV export should work without errors and should not break the admin interface.
-
Behavior should be consistent between UI and CLI import.
Steps to Reproduce
-
Go to the redirect import section in the Sulu admin UI.
-
Try to upload a valid
.csv file.
-
Observe the immediate validation error without any request being sent.
-
Try exporting redirects.
-
Observe the error and broken UI state.
Actual Behavior
When attempting to upload a CSV file for redirect import via the Sulu admin interface, an error is thrown immediately:
This happens instantly without any network request being sent.
Additionally, exporting redirects results in an error. The following URL is triggered:
After that, the admin interface appears to be broken.
However, importing redirects via the CLI works without any issues:
Expected Behavior
.csvfiles and send the request properly.Steps to Reproduce
.csvfile.