On Mon, Dec 14, 2009 at 9:11 AM, glenn <gl...@exmbly.com> wrote: > I started a new 1.1-Snapshot and am now getting the following error > when trying to save a mapper object: > > You're not saving a Mapper instance, you're calling save on the MetaMapper instance. That can cause significant problems, thus it now generates an error.
> Message: net.liftweb.mapper.MapperException: Cannot test the > MetaMapper singleton for saved status > net.liftweb.mapper.MetaMapper$class.saved_$qmark(MetaMapper.scala: > 550) > net.liftweb.coreguard.model.test.saved_$qmark(test.scala:28) > > ... > > > My mapper is simple. It's just a test object: > > object test extends test with LongKeyedMetaMapper[test]{ > > } > > class test extends LongKeyedMapper[test] with IdPK with > LongKeyedMetaMapper[test] with CRUDify[Long,test] { > > def getSingleton = test > object name extends MappedString(this, 100){ > override def displayName = "test name" > } > } > > Thanks in advance for any help to resolve this. > > Glenn > > -- > > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.