Forum Discussion

BobNelson's avatar
BobNelson
New Contributor III
4 days ago

Public Overloads Function GetBusinessRules

I have seen several MaketPlace solutions rules that give me a warning message when I compile in v 7.1.1. See the example below:

Warning at line 410: 'Public Overloads Function GetBusinessRules(si As SessionInfo, brType As BusinessRuleType) As List(Of BusinessRuleSummaryInfo)' is obsolete: 'This is a temporary function used by Marketplace Solutions for backwards compatibility with old XF versions. Please change your code to use supported functionality.'.

Not sure how these rules will behave when we upgrade to v 8.5, but I was wondering if there is an easy fix out there which will remove this warning message.

1 Reply

  • RobbSalzmann's avatar
    RobbSalzmann
    Valued Contributor II

    These are deprecation warnings.  There is no easy fix other than to change the code.  With Marketplace solutions, the publisher of the solution should create a new release that compiles without these warnings by using the new library functions instead of the deprecated functions.