-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem on Ibexa 3.2 and this bundle #1
Comments
Thank you for reporting @YohannsMonnier. I will take a closer look on this issue tomorrow and let you know 😉 |
For the Solr Issue, I think it is due to the fact that the form is called in the solr indexer, and this field in the form generate an error because there is no user request , thus no way to get it from the requestStack
This is generating the error message
|
Dear @adamwojs the 2nd problem was due to proxy settings. We still have the problem for indexing content that has a form with this Recaptcha Field. Do you have an idea for a workaround for indexing ? Yohann |
Self-note: to reproduce the issue ewz_recaptcha:
// ...
locale_from_request: true |
@adamwojs if we deactivate "locale_from_request: true" we do not have the reindex bug, but the display in front is not translated to the current langage (here we have french). Yohann |
I have some idea how to solve it but I will need some time. You can override # FIXME: workaround for https://github.com/adamwojs/ezplatform-form-builder-recaptcha-field/issues/1
ewz_recaptcha.locale.resolver:
class: EWZ\Bundle\RecaptchaBundle\Locale\LocaleResolver
public: false
arguments:
- '%ewz_recaptcha.locale_key%'
- '@=constant("PHP_SAPI") !== "cli" && parameter("ewz_recaptcha.locale_from_request")'
- '@request_stack' as very ugly workaround If you are in hurry. Expression passed as second argument will disable using locale from request if current execution env. is CLI |
We were in a situation where we needed Recaptcha in production, but in the mean time -> solr indexation was frozen because of this bug Thank you so much for this quick workaround ! |
Dear Adam, beside from the proposed workaround, do you have any how we could fix this definitely ? Thank you very much, |
Hello @adamwojs ,
We have some problem using this bundle on Ibexa 3.2
Do you think there could be an update needed for Ibexa 3.2 ?
Yohann
The text was updated successfully, but these errors were encountered: