fix: #3637721 Open the View JSON operation without a destination

Issue: https://www.drupal.org/node/3637721

JSON:API answers 400 to any query parameter it does not know, and the operations builder adds destination to every operation link. The View JSON link now sets an opt-out option, and hook_link_alter() removes the destination from links that carry it.

Proof: on a Webships 3.0.x site the /admin/content link is /api/node/organization/<uuid> and answers 200 (it ended in ?destination=/admin/content and answered 400).

AI-Generated: Yes

Checkpoints

  • File an issue
  • Fix bugs in code
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release Notes
  • Release

Merge request reports

Loading
Loading