User with MetaMegaProtoUser and CRUDify do not compile #1172

Open
indrajitr opened this Issue Dec 23, 2011 · 1 comment

2 participants

@indrajitr
Lift Web Framework member

In Lift version 2.9.0 when using MetaMegaProtoUser and Crudify together in an user object it doesn't compile.

There are conflicts with same def/val names used by both Traits.

User definition:

...
line 136:  object User extends User with MetaMegaProtoUser[User] with CRUDify[Long, User] {_ 
...

Error:

.../model/User.scala:136: overriding type FieldPointerType in trait MetaMegaProtoUser, which equals net.liftweb.mapper.MappedField[_, ingo.model.User.TheUserType];
[error]  type FieldPointerType in trait CRUDify, which equals net.liftweb.mapper.MappedField[_, ingo.model.User] needs `override' modifier;
[error]  other members with override errors are: computeFieldFromPointer, buildFieldBridge, editPath, menus
[error] object User extends User with MetaMegaProtoUser[User] with CRUDify[Long, User]{
[error]        ^
[error] one error found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment