Bug #5647
Renaming-Bug
| Status: | Resolved | Start date: | 2009-12-07 | |
|---|---|---|---|---|
| Priority: | Won't have this time | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | Code Creation | |||
| Target version: | - | |||
| Votes: | 0 |
Description
When creating a domain object and remaining it afterwards, a class for both name-variants is generated and the old one is not deleted. E.g. if I first create a Domain object "image" and I later rename it to "Image", there is a image.php and a Image.php class in my Domain directory.
History
Updated by Sebastian Michaelsen over 3 years ago
- Status changed from New to Needs Feedback
- Priority changed from Should have to Won't have this time
The Kickstarter could delete the whole Extension everytime before writing, but I'm not sure if this is desirable. For the moment I won't fix this, until there are more opinions.
Updated by Sebastian Michaelsen over 3 years ago
- Category set to Code Creation
Updated by Sebastian Michaelsen over 2 years ago
- Status changed from Needs Feedback to Resolved
Validation is implemented so that Domain Objects need to start with an upper case letter. so you image => Image example is solved this way. Otherwise when you rename your Domain Object you have to delete the old class file by hand for now.