Task #36016
call parent::__construct() if a domain extends existing model
| Status: | Accepted | Start date: | 2012-04-14 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | 6.0 | |||
| Votes: | 0 |
Description
Hello,
it would be nice to have the call of parent::__construct() inside of the an extended domain model in the auto generated code of the domain object. Otherwise for example adding usergroup to the frontend user doesn't work and gives error:
Call to a member function attach() on a non-object in (...)
It would be a time saver, because I heard a lot of people were falling over this issue already (and takes hours to find were the issue belongs)
Cheers and keep up the good work!!!
Dominic
History
Updated by Nico de Haen about 1 year ago
- Status changed from New to Accepted
- Priority changed from Should have to Must have
Updated by Nico de Haen 4 months ago
- Target version set to 6.0