DariusJ
DariusJ

Reputation: 31

Sitecore freezes when trying to define WFFM (Web Forms For Marketers) restricted placeholders

I have the latest version of WFMM (Web Forms For Marketers) for Sitecore. When I try to define the restricted placeholders from Desktop -> All Applications -> Web Forms for Maketers -> Restricted Placeholders everything freezes, including IIS.

I have no errors in the browser console or Sitecore's log.txt.

Upvotes: 3

Views: 104

Answers (2)

Anton
Anton

Reputation: 9961

Restricting Placeholder dialog is an quick way to add WFFM sublayout form and view form to Allowed Controls field in placeholder settings. Selection of placeholders is maintained on last step of installation of module. Everything is already installed, you just need to follow manual poststeps(attach DB, etc). You can continue without solving this problem.

And if you don't have a huge amount of placeholders then it is quicker to do it using Allowed Controls field rather than trying to find root of the problem.

Upvotes: 0

Marek Musielak
Marek Musielak

Reputation: 27132

I has same issue with Sitecore 8.0 rev. 150621 (Update-4) and Web Forms for Marketers 8.0 rev. 150625. Sitecore Support helped me:

The //*[contains(@Allowed Controls, '{0}')] query runs on all items from the database. We apologize for any inconvenience this issue may have caused.

I changed the query to search items only under the root item: .//*[contains(@Allowed Controls, '{0}')]

Could you please follow the steps below to address the issue:

  1. Copy the attached Sitecore.Support.406505.dll assembly to /bin folder.

  2. Change the implementation class for forms:selectplaceholders command in forms.config file:

from

<command name="forms:selectplaceholders" type="Sitecore.Forms.Core.Commands.RestrinctingPlaceholders,Sitecore.Forms.Core" />

to

<command name="forms:selectplaceholders" type="Sitecore.Support.Forms.Core.Commands.RestrinctingPlaceholders,Sitecore.Support.406505" />

Here is the linked to the mentioned dll: Sitecore.Support.406505.dll

Upvotes: 2

Related Questions