Glass.Mapper icon indicating copy to clipboard operation
Glass.Mapper copied to clipboard

Added fix to resolve datasource when A/B testing with a View Rendering

Open lchiao opened this issue 4 years ago • 1 comments

This fix corrects the A/B testing in View Renderings.

There was a previous fix made for similar reports to A/B testing, but that only corrected the issue with Controller Renderings.

I encountered this issue as I have a custom object construction task to map a custom view model. I noticed that A/B testing worked fine when Controller Renderings were used, however they broke with View Renderings and the Item was null with GetItemByPathOptions of the datasource in ItemUri format

This should address #433

lchiao avatar Feb 07 '22 05:02 lchiao

@mikeedwards83 looks good

muso31 avatar Feb 07 '22 09:02 muso31