Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-3544

Argument 1 passed to Gregwar\CaptchaBundle\Type\CaptchaType::__construct() must be an instance of Symfony\Component\HttpFoundation\RequestStack, instance of Symfony\Component\HttpFoundation\Session\Session given

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • 3.3.12
    • Form Builder
    • None
    • Ibexa Experience

    Description

      There seems to be a change in gregwar/captcha-bundle from 2.1 to 2.2 in the service definition. In EzSystems\EzPlatformFormBuilder\Form\Type\AjaxCaptchaType the FromType is inherited and the service definition overwritten in an incompatible way.

      As the constraint is `^2.1` the minor update is not prevented

      $ composer why gregwar/captcha
      gregwar/captcha-bundle  v2.2.0  requires  gregwar/captcha (^1.1.9)
      
      $ composer why gregwar/captcha-bundle
      ezsystems/ezplatform-form-builder  v2.3.9   requires  gregwar/captcha-bundle (^2.1)  
      ibexa/content                      v3.3.12  requires  gregwar/captcha-bundle (^2.1) 

      As workaround we stick to v2.1

      composer require gregwar/captcha-bundle:2.1.* 

      Attachments

        Activity

          People

            Unassigned Unassigned
            9dcdb0dd-5caa-459b-93b0-1ce97332c3fa@accounts.ibexa.co Hannes Giesenow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: