Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
U uw_sites_all
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 4
    • Merge requests 4
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • WCMS
  • uw_sites_all
  • Merge requests
  • !47

Merged
Created Jun 28, 2021 by Kevin Paxman@kpaxmanOwner

ISTWCMS-4881: don't automatically add a CAPTCHA when migrating

  • Overview 0
  • Commits 2
  • Changes 1

Note from Ivan @ Evolving Web:

I was working on adding migration of captcha settings and faced the following issue - the newly migrated webform contained only captcha element. The reason for this behavior is here: 0100dafc

It works fine for webforms created via UI because the webform entity is created without any elements. In the case of migration, the webform entity is created with elements, so this presave hook overwrites the existing elements array with a single captcha element.

I'm not able to push a fix to this module, so I'm attaching a patch for uw_sites_all module. [Which Kevin has turned into this merge request.]

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: feature/ISTWCMS-4881-idoroshe-no_auto_captcha_when_migrating