Development

#5352 (Admin generator bug)

You must first sign up to be able to contribute.

Ticket #5352 (new defect)

Opened 7 months ago

Admin generator bug

Reported by: houen Assigned to: fabien
Priority: minor Milestone:
Component: generator Version: 1.2.0
Keywords: generator bug Cc:
Qualification: Unreviewed

Description

When trying to create a second module using the admin generator, if you by accident have two routes with the same parameters and different names, like this:

user:

class: sfPropelRouteCollection options:

model: User module: user prefix_path: user column: id with_wildcard_routes: true

author:

class: sfPropelRouteCollection options:

model: User module: user prefix_path: user column: id with_wildcard_routes: true

and try to create and author module with

symfony propel:generate-admin backend author

then, of course, it doesn't work. After fixing the model, module and prefix path, I get a module not found error, and symfony hasn't created the module. Only after rebuilding both the user and then the author admin-module does it work

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.