findApplier(indexMap.open_!, rs.getObject(1)) match {
It appears that indexMap is initialized to Empty at line 888
and is set to Full at line 985, but the latter happens only if
dbPrimaryKey_? and dbAutogenerated? are both true. In my case I
have set dbAutogenerated_? = false for my primary key, so indexMap
will always be Empty, and the code at line 617 will always throw
an exception.
Is this a bug, or am I misunderstanding or misusing something?
My primary field in my KeyedMapper class looks essentially like this:
object pk extends MappedStringIndex(this,1) {
override def dbColumnName = "TABLENAME_PK"
override def dbDisplay_? = true
override def writePermission_? = true
override def dbAutogenerated_? = false
override lazy val defaultValue = ""
}
--
Jim
P.S. Thanks for the OracleDriver fix, Dave.
Assuming I prune it down to an example that requires only a few
files, which would probably include an SQL script for creating a test
database that has the appropriate schema in it, is there a procedure
for submitting such a test case? Should I just post source code
to this group? Make a jar file with sources and put it somewhere?
If someone can point me to a wiki page or some other reference to clue
me in as to standard procedure for doing this, that would be nice.
PS reproducible issue created here: http://github.com/dpp/liftweb/issues/#issue/199
--For more options, visit this group at http://groups.google.com/group/liftweb?hl=.
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lif...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+u...@googlegroups.com.