Version 7.0.5.19
This is a free minor release of the Code Effects Rule Editor assembly. It fixes a bug in version 7.0.4.73 that stopped the rule editor from showing certain rules, and it is recommended for every Code Effects 7 customer.
What's New in 7.0.5.19?
Version 7.0.5.19 fixes the following bug in the CodeEffects.Rule.Editor library:
- "Rule editor exception CL1182" when a rule used an in-rule method inside a calculation. A rule with an in-rule method inside a calculation, a date shift or a concatenation - for example Birth Date is after { Today - 18 years }, or set Rate to { 5.9 + Debt To Income * 2 } - could not be shown again after it was loaded from the editor's own posted data. The editor drew the rule up to that method, stopped there and reported CL1182.
The bug appeared only when a rule was loaded from the data the editor posts, not from Rule XML:
- in your own application, when a posted rule is loaded with
Control.LoadRuleData and sent back to the browser with Control.GetRuleData (for example, to show it again after a failed validation);
- in the Rule Repository, when a saved draft with such a method was opened again;
- in the Rule Repository's AI Rule Editor, when it handed its rule to the Rule Editor tab.
Rules loaded from Rule XML were never affected, and no stored rule was changed by the bug: once the new assembly is in place, the same rules and drafts open normally.
Affected Assemblies
Nothing else changes in this release. CodeEffects.Rule.Common remains at version 7.0.4.37 and CodeEffects.Rule.Engine at 7.0.4.39, and the browser files of the editor in the @codeeffects/editor npm package are unchanged. The Rule Repository, Audit and MCP Server assemblies are unchanged too; the Rule Repository gets the fix through the new Rule Editor assembly.
How to Upgrade
- Personal package: update the CodeEffects.Rule.Editor.Personal reference to version 7.0.5.19.
- Paid packages: log in to the Customer Portal and download the new Rule Editor assembly for your Code Effects package. See Code Effects Packages.
- .NET Framework applications: make sure the
app.config or web.config redirects CodeEffects.Rule.Editor to 7.0.5.19 (NuGet normally adds the binding redirect for you), so that the Rule Repository, which was built against 7.0.4.73, loads the new assembly. .NET Core and .NET 5 and later need nothing.
Please read the main Code Effects Implementation article for details on how to implement the Code Effects decision automation platform in your project. Contact us if you have any questions or require technical support.