Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Following an upgrade from Vorto 1.5.3 to 1.6.0, calling GetVortoValue with the recursive parameter set true fails with NullReferenceException (... at line 98 of IPublishedContentExtensions.cs)
Testing for a null value appears to address the issue:
var prop = content.GetProperty(propertyAlias);
if (prop != null)
Is this an appropriate workaround?
I'm seeing a similar issue. My IUrlProvider/IContentFinder implementation stopped working and I have had to add HasVortoValue code prior to my GetVortoValue statement.
In my case, a call to HasVortoValue with the recursive parameter set true evaluates true - as expected. However, the subsequent call to GetVortoValue with the recursive parameter set true 'fails' - it doesn't recurse and returns a null value. Testing for a null value in the DoInnerGetVortoValue method in IPublishedContentExtensions.cs as described above appears to fix my issue.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted