EasyCorp / EasyCorp/EasyAdminBundle
Multiple Crud for EntityFqcn and automplete wrong url (pretty)
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 4.3k
- Forks
- 1.1k
- Avg merge
- 8d 2h
- Merged PRs (30d)
- 11
Description
Hello,
I've 2 differente CrudController with different queryBuilder and field. (A1CrudControler, A2CrudControler)
In one other Crudcontroler (BCrudControler) I use AssociationField for a many2many relation on A, I ->setController(A1CrudControler::class), to get the good filter(queryBuilder), but th automplete url is wrong :
https://url.test/admin/a2/autocomplete?...
What's wrong ???
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the setup with A1CrudController and A2CrudController using different query builders, then open the AssociationField in BCrudController where setController(A1CrudController::class) is configured. Trace the autocomplete URL generation and verify that it targets A1 rather than the reported /admin/a2/autocomplete path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, symfony
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100