As temporary solution https://github.com/igormukhingmailcom/EasyAdminBundle.git repository added to use patch-1
.
It allows to use options
at app/config/easy_admin.yml
.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# ^^^ YAML documents must begin with the document separator "---" | |
# | |
#### Example docblock, I like to put a descriptive comment at the top of my | |
#### playbooks. | |
# | |
# Overview: Playbook to bootstrap a new host for configuration management. | |
# Applies to: production | |
# Description: | |
# Ensures that a host is configured for management with Ansible. |
I hereby claim:
- I am igormukhingmailcom on github.
- I am igormukhin (https://keybase.io/igormukhin) on keybase.
- I have a public key whose fingerprint is 5F5A 5E52 6A5E F02E 77A1 8419 241F CD97 41E5 A625
To claim this, I am signing this object:
Fixture with name ""your_cusom_fixture"" is already registered.
- Reason: Your fixture service registers twice (as
app.fixture.bla
by you and asApp\Fixture\BlaFixture
by DI autoconfigure) - Solutions:
- Exclude fixtures folder from DI autoconfigure
- Make your fixture comatible with DI autocomfigure
- How that was found:
Dumped
$taggedServices
atvendor/sylius/fixtures-bundle/src/DependencyInjection/Compiler/FixtureRegistryPass.php
- Reason: Your fixture service registers twice (as
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/serializer/hateoas/AbstractSegmentedRepresentation.yml | |
Hateoas\Representation\AbstractSegmentedRepresentation: | |
exclusion_policy: ALL | |
expose: false | |
properties: | |
limit: | |
expose: true | |
groups: [ Default, Hateoas ] | |
total: | |
expose: true |
1. [Doctrine\Common\Persistence\Mapping\MappingException] Class 'Your\SyliusPlugin\Entity\YourEntity' does not exist
When your plugin is AbstractResourceBundle
and all your entities should be and actually placed at Model
directory,
you have that exception (notice ...\Entity\...
at exception rather than ..\Model\...
)
for your Your\SyliusPlugin\Model\YourEntity.php
that is weird.
This happens when you accidentally have your mapping file at src/Resources/config/doctrine/YourEntity.orm.xml
(without ../model/..
part) rather than src/Resources/config/doctrine/model/YourEntity.orm.xml
.
This issue may happen when you convert some of your application code (which use Entity
directory) to plugin (which use Model
directory).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\Fixture; | |
use Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition; | |
trait PriceAwareProductFixtureTrait | |
{ |