post-mediapackage WOH breaks further processing

Steps to reproduce

Steps to reproduce:
1. add a "post-mediapackage" operation to your workflow
2. make sure it is using "search" mediapackage type (the default)
3. add further operations after "post-mediapackage"

Actual Results:
Incorrect version of the mediapackage is returned by "post-mediapackage" operation, causing subsequent operations to behave incorrectly and media to disappear.

Expected Results:
"post-mediapackage" operation should not break further processing

Workaround (if any):
add configuration:

<configuration key="mediapackage.type">workflow</configuration>

to your "post-mediapackage" operation.

The attached patch fixes the issue for me.

Fixed and reviewed

Assignee

Unassigned

Reporter

Paul Pettit

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Major