Comments (5)
Hi,
The andmingenerated folder shoud be in you app/cache/env/ dir and it should be autoloaded with https://github.com/cedriclombardot/AdmingeneratorGeneratorBundle/blob/master/ClassLoader/AdmingeneratedClassLoader.php wich be init in https://github.com/cedriclombardot/AdmingeneratorGeneratorBundle/blob/master/AdmingeneratorGeneratorBundle.php
Check if you have enabled the AdmingeneratorGeneratorBundle in your env
from admingeneratorgeneratorbundle.
And use Admingenerated...\BaseController\NewController as BaseListController;
is it a copy paste from task ? or other ??
You should have NewController as BaseNewController;
from admingeneratorgeneratorbundle.
This is the generated ListController.php:
namespace Application\...\SearcherBundle\Controller;
use Admingenerated\...\BaseController\NewController as BaseListController;
class ListController extends BaseListController
{
}
It's the same for all controllers, eg. \NewController as BaseEditController, \NewController as BaseDeleteController
The command proceeded to completion and said: "You can now start using the generated code!"
But, there is no andmingenerated folder in app/cache/dev/, and there is no routing file generated.
I have enabled the following in config_dev.php
admingenerator_generator:
overwrite_if_exists: true
fyi, we're using windows 7 with wintty/cygwin to run the command.
from admingeneratorgeneratorbundle.
It's seems to bee a big bug in task i'll look at this tonight
from admingeneratorgeneratorbundle.
Thats done you've to regenerate your bundle or to change in each controller the NewController by the current controller name.
from admingeneratorgeneratorbundle.
Related Issues (20)
- afe_single_upload riquiered issue HOT 6
- Doctrine ORM Manager named "default" does not exist. HOT 8
- Hardcoded id in getFilterForm HOT 2
- Excel export. Wont Work HOT 3
- Extend ExcelController from the user project ListController HOT 8
- Problem after upgrade to Symfony 2.6 HOT 1
- Problem Multi upload with single upload HOT 4
- ContextErrorException HOT 3
- GenerateAdminCommand compatible with SensioGeneratorBundle HOT 2
- updateRouting definition error with symfony 2.6 HOT 4
- Conflict with avocode/form-extensions-bundle HOT 6
- ListController::isCsrfTokenValid() changed and need 2 arguments HOT 1
- Init new tag v1.0.3 and v1.1.4 HOT 4
- Add uglifyjs and uglifycss support HOT 3
- Filters HOT 1
- Cumplidos sus requerimientos, NO logro descargar via composer...please check ! I very interesting!
- ser
- Global stopOnFail(true) should be overrideable with local stopOnFail HOT 2
- updateRouting() should be compatible HOT 1
- ODM is no longer supported HOT 1
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 admingeneratorgeneratorbundle.