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

Fix asset controller responses #12159

Merged
merged 7 commits into from
Apr 4, 2023
Merged

Fix asset controller responses #12159

merged 7 commits into from
Apr 4, 2023

Conversation

timkelty
Copy link
Contributor

@timkelty timkelty commented Oct 20, 2022

These cases were missed when we normalized proper js response handling in the 4.0 release.

TODO

  • Update JS

Related issues

# Conflicts:
#	src/controllers/AssetsController.php
# Conflicts:
#	src/web/assets/cp/dist/cp.js
#	src/web/assets/cp/dist/cp.js.map
Copy link
Contributor Author

@timkelty timkelty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from the obvious question of "why is the same code in so many places", just looking for another set of eyes, as my js-fu is rusty.

@timkelty timkelty marked this pull request as ready for review March 16, 2023 17:35
@timkelty timkelty requested a review from a team as a code owner March 16, 2023 17:35
@timkelty timkelty requested review from brandonkelly and brianjhanson and removed request for a team March 16, 2023 17:35
@brandonkelly brandonkelly changed the base branch from develop to 5.0 April 4, 2023 21:00
# Conflicts:
#	src/web/assets/cp/dist/cp.js
#	src/web/assets/cp/dist/cp.js.map
#	src/web/assets/cp/src/js/AssetSelectInput.js
#	src/web/assets/cp/src/js/ImageUpload.js
@brandonkelly brandonkelly merged commit 572d40f into 5.0 Apr 4, 2023
@brandonkelly brandonkelly deleted the fix-assets-responses branch April 4, 2023 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[4.x]: AssetsController always returns 200
2 participants