devng / twig-persist

Automatically exported from code.google.com/p/twig-persist
0 stars 0 forks source link

IllegalStateException in DefaultConfiguration.typeToName() #82

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

I used find() on my class User: datastore.find(User.class); code that worked 
fine in 1.0.4

What is the expected output? What do you see instead?

By way of StandardRootFindCommand.newQuery, DefaultConfiguration.typeToKind > 
typeToName is called, which seems only to work with preregistered types, so my 
type fails.

With twig 1.0.4, the typeToKind > typeToName methods are in the 
DefaultFieldStrategy, where typeToName uses Class.getName()

What version of the product are you using? On what operating system?
Twig 2.0-rc

Original issue reported on code.google.com by alex.rho...@temet.ch on 18 Mar 2013 at 9:21