Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions triggered via Views Bulk Operations never execute #972

Closed
dannylamb opened this issue Aug 24, 2023 · 0 comments
Closed

Actions triggered via Views Bulk Operations never execute #972

dannylamb opened this issue Aug 24, 2023 · 0 comments

Comments

@dannylamb
Copy link

dannylamb commented Aug 24, 2023

What steps does it take to reproduce the issue?

  • Install VBO
  • Add the VBO widget to a view
  • Try to use the VBO widget to perform a derivative action, like "Generate an image derivative"
    image
  • Fill out the little form it makes you fill out
    image
  • Alpaca logs will contain
alpaca_1 | 2023-08-24T00:41:11.804751513Z 2023-08-24 00:41:11,804 | ERROR | nnector-houdini] | DefaultErrorHandler | 56 - org.apache.camel.camel-core - 2.20.4 | Failed delivery for (MessageId: ID:484a3574eabd-35331-1690401177428-3:137507👎1:19 on ExchangeId: ID-5c8908e3ad99-1690401207016-3-731092). Exhausted after delivery attempt: 11 caught: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "add_confirmation" (class ca.islandora.alpaca.support.event.AS2AttachmentContent), not marked as ignorable (7 known properties: "file_upload_uri", "fedora_uri", "source_uri", "destination_uri", "args", "mimetype", "source_field"])
  • You will not have new derivatives

When does this issue occur?
When using VBO to trigger actions,

Which page does it occur on?
Any view with the VBO widget

What happens?
VBO adds certain metadata to the message that gets put onto the queue. Camel tries to parse the message as json, but because its java and all strict-like, it complains when it finds these new keys. This all happens invisibly in the background as Drupal reports VBO has done its thing successfully but you don't see any new derivatives.

To whom does it occur (anonymous visitor, editor, administrator)?
admins

What did you expect to happen?
I would expect my action to execute successfully and I have a new derivative file

Which version of Islandora are you using?
2.8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants