Problem/Motivation

The View JSON operation in /admin/content links to /api/node/organization/<uuid>?destination=/admin/content, and JSON:API answers 400 Bad Request: "The following query parameters violate the JSON:API spec: 'destination'." The same URL without the query parameter answers 200.

Steps to reproduce

  1. Sign in as an administrator and open /admin/content.
  2. Open View JSON in the operations of any row: 400.

Proposed resolution

Let the View JSON link opt out of the destination that the operations builder adds, in hook_link_alter().

Remaining tasks

  • ✅ File an issue about this project
  • ✅ Addition/Change/Update/Fix to this project
  • ✅ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Reviewed by a human
  • ❌ Code review by maintainers
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes
  • ❌ Release

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • fix: Open the View JSON operation without a destination

AI-Generated: Yes

Comments

rajab natshah created an issue. See original summary.

  • rajab natshah committed ba2c9297 on 1.0.x
    fix: #3637721 Open the View JSON operation without a destination
    
    The...
rajab natshah’s picture

Issue summary: View changes
Status: Active » Fixed

Merged in !5, pipeline 1044407.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

rajab natshah’s picture

✅ Released webapi 1.0.2