What are the Slack Archives?
Itโs a history of our time together in the Slack Community! Thereโs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonโt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi there, after updating product-management to 0.19.2 we are experiencing exceptions regarding missi
Hi there, after updating product-management to 0.19.2 we are experiencing exceptions regarding missing xss_sanitize option. I assume there is another module providing that option which is not mentioned in the dependencies. fyi: currently using spryker/gui 3.29.0
Comments
-
Hi, probably it's about this one - https://github.com/spryker/util-sanitize-xss/releases/tag/1.0.0.
I'll create an internal ticket about missing dependency.
0 -
Or maybe not. Checking.
0 -
thx, Iโll try that
0 -
Seems like you need to add plugin on project level in src/Pyz/Zed/Form/FormDependencyProvider.php:
use Spryker\Zed\Form\Communication\Plugin\Form\CsrfFormPlugin; use Spryker\Zed\Form\FormDependencyProvider as SprykerFormDependencyProvider; use Spryker\Zed\Form\FormDependencyProvider as SprykerFormDependencyProvider; use Spryker\Zed\Gui\Communication\Plugin\Form\NoValidateFormTypeExtensionFormPlugin; use Spryker\Zed\Gui\Communication\Plugin\Form\NoValidateFormTypeExtensionFormPlugin; use Spryker\Zed\Gui\Communication\Plugin\Form\SanitizeXssTypeExtensionFormPlugin; use Spryker\Zed\Http\Communication\Pluign\Form\HttpFoundationFormPlugin; use Spryker\Zed\Http\Communication\Pluign\Form\HttpFoundationFormPlugin; use Spryker\Zed\Validator\Communication\Plugin\Form\ValidatorFormPlugin; use Spryker\Zed\Validator\Communication\Plugin\Form\ValidatorFormPlugin; use Spryker\Zed\WebProfiler\Communication\Plugin\Form\WebProfilerFormPlugin; use Spryker\Zed\WebProfiler\Communication\Plugin\Form\WebProfilerFormPlugin; class FormDependencyProvider extends SprykerFormDependencyProvider class FormDependencyProvider extends SprykerFormDependencyProvider { { /** /** * @return \Spryker\Shared\FormExtension\Dependency\Plugin\FormPluginInterface[] * @return \Spryker\Shared\FormExtension\Dependency\Plugin\FormPluginInterface[] */ */ protected function getFormPlugins(): array protected function getFormPlugins(): array { { return [ return [ new ValidatorFormPlugin(), new ValidatorFormPlugin(), new HttpFoundationFormPlugin(), new HttpFoundationFormPlugin(), new CsrfFormPlugin(), new CsrfFormPlugin(), new NoValidateFormTypeExtensionFormPlugin(), new NoValidateFormTypeExtensionFormPlugin(), new WebProfilerFormPlugin(), new WebProfilerFormPlugin(), new SanitizeXssTypeExtensionFormPlugin(), ]; ]; } } } }
0 -
hmm, I added the dependency provider, but the plugin does not exist. which module should I require?
0 -
-
sorry, my mistake. I meant missing imports regarding spryker/http and spryker/form, but so could resolve them now. Maybe you want to add these two to the dependencies as well?
0 -
and you may want to rename Spryker/Zed/Http/Communication/Pluign ...?
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 924 Developer Corner
- 783 Spryker Development
- 88 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K ๐ Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random