Comments (6)
Maybe try making ProductAdminBase
an abstract class? Else it will try to register it as an admin service and it will look for entity
from sonataautoconfigurebundle.
admin suffix basically removes Admin
from the end of the class name (by default) and tries to find an entity with that name
from sonataautoconfigurebundle.
Yes, declaring it abstract did work. May be update README?
from sonataautoconfigurebundle.
What do you think would be useful to add to the README?
from sonataautoconfigurebundle.
Like "if you getting 'Entity "ProductAdminBase" not found...' try to make it abstract or smth like that. I really like your bundle, it reduces the number of configs in my project.
from sonataautoconfigurebundle.
Well, if you plan to use your class as a base I guess it should be abstract by default and then symfony wouldn't register it as a service. Not sure if that is useful in the readme, I guess people could find this issue if they run into it again.
Glad you like it, that was to point of it, to make it easier for people. Appreciate all the issues, if you have any suggestion for a feature feel free to open a new issue.
from sonataautoconfigurebundle.
Related Issues (17)
- Autowire doesn't work (when admin is injected in another service) HOT 3
- Ability to configure the translation domain HOT 3
- Add the ability to configure admin extensions
- Add the ability to configure admin templates HOT 6
- serviceId is not defined HOT 3
- Autoconfiguration of Extensions HOT 8
- Default value for mosaic button HOT 6
- Default value for adminCode HOT 3
- When I try to alias my admin, I get an error HOT 3
- Block management feature? HOT 2
- Field names for children
- Admin without an Entity HOT 2
- What does option "children" do? HOT 6
- Ignore some admin via configuration
- Add behat test suite
- Setting defaults using the configuration HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonataautoconfigurebundle.