Robin Houtevelts

Results 25 comments of Robin Houtevelts

Same here. When we are building to prepare a deploy we don't want to run symfony's `cache:clear` etc. So we set `--no-scripts` However when working locally those script should still...

+1 I was about to create my own PR. Without the context set it's impossible to know _which_ clockpicker fired the callback. Although I simply added at line [354](https://github.com/weareoutman/clockpicker/blob/e6ac014b3c167281ac37cf122ab19b6967d8fae4/src/clockpicker.js#L354) ```...

> Drupal itself sets the file permissions of the folder /sites/default to 555. Set `$settings['skip_permissions_hardening'] = true;` to disable that. See [example.settings.local.php#L121-131](https://git.drupalcode.org/project/drupal/-/blob/9.4.5/sites/example.settings.local.php#L121-131)

I'm sorry, I assumed you were using a local environment because you mentioned it happens during `composer install`. I don't have a dockerizerd Drupal running in production. Good luck!

> TypeError : ApiPlatform\Core\Bridge\Elasticsearch\DataProvider\CollectionDataProvider::__construct(): Argument #5 ($pagination) must be of type ApiPlatform\State\Pagination\Pagination, ApiPlatform\Core\DataProvider\Pagination given The `CollectionDataProvider` is [configured](https://github.com/api-platform/core/blob/ee0fabb667019eb6d92fee75da1c9f0e1755880e/src/Symfony/Bundle/Resources/config/elasticsearch.xml#L82) to use `ApiPlatform\State\Pagination\Pagination` which is the `api_platform.pagination` service. However in the [legacy/backward_compatibility.xml](https://github.com/api-platform/core/blob/ee0fabb667019eb6d92fee75da1c9f0e1755880e/src/Symfony/Bundle/Resources/config/legacy/backward_compatibility.xml#L12)...

> You can still use the SearchFitler on top of your own IdentityFilter. That's a bit hard since it became `final` and the Filters are generated services. Can't decorate it

After reading my previous comment I realize I sounded snarky so let me try again. Keep in mind I'm replying to *"You can still use the SearchFilter on top of...

Ontopic: If I remember correctly the issue here is that my identifier is a separate `uuid` property and the `SearchFilter` calls `IriConverter::getItemFromIri()` with `['fetch_data' => 'false']` [SearchFilterTrait.php#L123](https://github.com/api-platform/core/blob/2.6/src/Bridge/Doctrine/Common/Filter/SearchFilterTrait.php#L123) I added a...

Above gives: > The definition "App\Doctrine\ORM\Filter\SearchFilter" has a reference to an abstract definition "api_platform.doctrine.orm.search_filter". Abstract definitions cannot be the target of references. And ```yml App\Doctrine\ORM\Filter\SearchFilter: decorates: 'annotated_app_entity_event_flight_travel_leg_api_platform_core_bridge_doctrine_orm_filter_search_filter' arguments: $decorated: '@.inner'...

I'll fix the codestyle. I'm also not sure where and how to write the test 😬