6

We are in process of upgrading from WFFM 8.0 to WFFM 8.1 and when rebuilding our code I received an error on a class we built which inherits AssessSecurityRisk.

[deprecated] class Sitecore.Form.Submit.AssessSecurityRisk 'AssessSecurityRisk' is obsolete

public class AssessSecurityRiskCustom: Sitecore.Form.Submit.AssessSecurityRisk
{
...
}

Any thoughts please pass on.

Thx in advance.

Dan

5

The existing Form Verification/Assess Security Risk action still points to the old Sitecore.Form.Submit.AssessSecurityRisk which is marked Obsolete. Normally Obsolete messages are marked with "Please use X instead"...

Given that the out of the box Assess Security Risk Action is still using the obsolete class you are probably ok to continue to use this for the moment (until the next upgrade at least). I would still raise a support ticket and ask for clarification though.

EDIT:

In Sitecore 8.2 the Assess Security Risk item has no Class or Assembly items set, which suggests the item has been left in as a legacy for existing forms but is no longer used. It may be that the form submissions are encoded by default now, but worth verifying with Support.

The verification was removed in WFFM 2.4 rev 151103, which would have been rolled into the later WFFM versions.

The default Assess Security Risk verification had worked incorrectly for the list fields. This verification can now be removed from the form. (66912)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.