runDataTransform() runs in context of incorrect page on Mobile
SummaryA data transform is called from the pre-js function of a Question shape when the case is opened from worklist.
When they open the work object from the worklist, the data transform attempts to run in the context of pyDisplayHarness instead of pyWorkPage.
Error MessagesNot Applicable
Steps to Reproduce1) Create a new single value property in the Work class.
2) Create a data transform that sets that property with some value.
3) Add that data transform to the offline 'Whitelist'.
5) At runtime, use Chrome USB debugging with Mobile device.
6) Open the work object from the worklist and arrive at the question shape in the flow, check the browser console to verify if the data transform Api ran and the page context in which it ran.
The page context is not set to pyWorkPage in displayHarness method of open assignment and onHaveWorkObject method.
Published April 24, 2017 - Updated May 10, 2017