Submit broken when used with AJAX.

Created on 19 October 2021, about 3 years ago
Updated 9 October 2023, about 1 year ago

Problem/Motivation

I have a vbo block that uses ajax. The vbo form has 1 action displayed as a button.

Works:
- load the page
- pick an item
- click action button -> goes to confirm page
- click execute button
- action runs correctly

Doesn't work:
- load the page
- page forward 1 page
- page backward 1 page
- pick an item
- click action button -> goes to confirm page
- click execute button
- redirected to /views/ajax which gives a 404

This is with 9.1.13 core and vbo 4.0.0 but i also went back to an old vanilla D8 site (8.9.17) also with vbo 4.0.0. I took the core Content view and made a block from it and then placed it with layout builder on a basic page. This also worked if i didn't page. Once i did the same as listed above the page redirects to the main /admin/content/ page (somewhat related to the block in question as it was another display off that view; but no idea why it is connected to that page).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: works as designed

Version

4.2

Component

Core

Created by

πŸ‡¨πŸ‡¦Canada liquidcms

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024