Download PDF action using VBO doesn't work in block mode

Created on 7 November 2024, 8 days ago

Problem/Motivation

Download pdf VBO action only works on page views, not as a block displayed on a node.

Steps to reproduce

1 Create a form where an entity is referenced, and make submissions.
2 Create a view in block mode with contextual filter on the referenced entity, which's ID it gets from the node id.
3 Place the block in the pages of the entity type. It shows the submissions that relate to it.
4 Use the VBO checkboxes to select a couple of submissions
5 select action 'Download PDF' and press submit.

You get a pdf, with some html code that seems to do a redirect.

The same view, but with an exposed filter instead of a contextual filter, and displayed on a separate page, gives you the concatenated submissions in a single pdf: it works.

Proposed resolution

Fix this please

Remaining tasks

?

User interface changes

None

API changes

?

Data model changes

?

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024