Development

#6287 (Admin Generator should throw error if theme is not found)

You must first sign up to be able to contribute.

Ticket #6287 (closed defect: invalid)

Opened 10 months ago

Last modified 8 months ago

Admin Generator should throw error if theme is not found

Reported by: bshaffer Assigned to: fabien
Priority: minor Milestone:
Component: other Version: 1.2.5
Keywords: Cc:
Qualification: Unreviewed

Description

I have recently spent a good deal of time debugging a symfony project. A plugin I installed had a theme set in the generator.yml that didn't exist in my project. Of course, this theme should not have been set by the plugin, but the error I received was that a certain class didn't exist (I think it was BaseXXXGeneratorConfiguration).

The admin generator should preferably throw a "Theme not found" error if a certain theme is unrecognized in the project.

Change History

06/17/09 17:22:56 changed by boutell

I second that. Some logging would be helpful in the admin generator. It's pretty much silent if it can't find something.

06/17/09 17:30:32 changed by boutell

  • status changed from new to closed.
  • resolution set to invalid.

My bad, this has already been fixed, I can see the code that throws an exception in sfModelGenerator if the theme is not found.

My situation was different. (Always rememver that svn rm doesn't really rm folders, only files, until you commit. (: )

The Sensio Labs Network

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