Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

User with MetaMegaProtoUser and CRUDify do not compile #1172

Open
indrajitr opened this Issue · 1 comment

2 participants

Indrajit Raychaudhuri github-importer
Indrajit Raychaudhuri
Owner

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
Something went wrong with that request. Please try again.