Ticket #2380 (reopened defect)
Class declarations in comments are treated as real by ManifestBuilder
| Reported by: | mrickerby | Assigned to: | sminnee |
|---|---|---|---|
| Type: | defect | Priority: | blocker |
| Milestone: | Component: | Sapphire Framework | |
| Version: | 2.2.2-rc2 | Severity: | medium effort / impact |
| Keywords: | db model framework manifest | Cc: | ischommer |
| Due date: | Harvest Task: | (Unknown) | |
| Invoice sent to client: | 0 | Hours: |
Description (last modified by mrickerby) (diff)
When class declarations that inherit from DataObject are declared in comments, ManifestBuilder::parse_file will treat it as a real class, and db/build will break when it discovers the class doesn't actually exist.
eg: the following example comment will break db/build:
/**
*
* <example>
* class MyCustomClass extends DataObject {
* static $db = array();
* }
* </example>
*
*/
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
