Part feature request, part gripe. :P

I set out to create a VBO to add questions to a test, separate from the quiz editor's "Question Bank". I expected the "Quiz question relationship" bulk operation to work in any view of questions, and spent about 4 hours trying to make it work. The 'next' page just displays 0 items instead of showing what I chose on the first screen.

The problem is that the VBO assumes it's running on a quiz node page, and tries to get the quiz NID from the path arg(1).

Other VBO actions ask for the content to link to on the next step page, so that's what I assumed here.

It would be really nice to have the option of linking questions to quizzes independently of a quiz node page.

Comments

millenniumtree’s picture

Title: Add Questions to Quiz » 'Add Questions to Quiz' VBO only works on quiz node pages
djdevin’s picture

Version: 7.x-5.0-alpha10 » 7.x-5.x-dev

I don't know how to do this, but patches welcome!

This is a VBO context issue which is tough to get around. We have to figure out where the Quiz is, somehow.

I think the latest VBO provides context to the action, so maybe we can do something there.