asolfre / objectify-appengine

Automatically exported from code.google.com/p/objectify-appengine
MIT License
0 stars 0 forks source link

LoadException During Projection Query (Projecting boolean Primitives) #228

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
What is the expected output? What do you see instead?
- When projecting a boolean primitive field, a LoadException is thrown. This 
may or may not be related to 
https://code.google.com/p/objectify-appengine/issues/detail?id=227
- I added some JUnit tests to the ones submitted in 
https://code.google.com/p/objectify-appengine/issues/detail?id=227 to 
illustrate the problem. Please see attached zip file.

- Separately (but possibly related), I ran across some issues with projecting 
list fields (a.k.a. multi-value properties in the GAE docs). I'm not 100% about 
what the expected behavior should be anyhow, so I wanted to hold off on 
creating a separate issue. I'll just mention it here. I included a JUnit test 
for this item as well, but take it with a grain of salt. In total, there should 
be two unit tests that fail when you run them all. (Can I make a request for a 
blurb in the Objectify docs about projecting list fields?)

What version of the product are you using?
Objectify 5.1.4

Original issue reported on code.google.com by vidalbor...@gmail.com on 11 Jan 2015 at 4:19

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision ffda6fdaa5bd.

Original comment by lhori...@gmail.com on 14 Jan 2015 at 5:59

GoogleCodeExporter commented 9 years ago
I can't imagine what it means to project a list type. If you can think of 
sensible behavior that GAE allows for, open an enhancement request. Thanks for 
the report!

Original comment by lhori...@gmail.com on 14 Jan 2015 at 6:01