Issue Details (XML | Word | Printable)

Key: JDO-271
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Michael Bouschen
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

SingleStringQuery has a query accessing a field in a subclass

Created: 04/Jan/06 04:51 AM   Updated: 04/Jan/06 09:00 AM
Component/s: tck2
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Resolution Date: 04/Jan/06 09:00 AM


 Description  « Hide
Bug JDO-270 was raised against JPOX for not detecting accesses to fields in subclasses, saying that it should raise an exception when it encounters such things. In which case can we please have the test SingleStringQuery fixed since it tries to access "salary" when using a candidate class of Person, which has no such "salary" (which is on FullTimeEmployee), or "projects" for that matter. Maybe change the candidate to FullTimeEmployee ?

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #365748 Tue Jan 03 21:13:25 UTC 2006 clr JDO-271 changed candidate class from Person to FullTimeEmployee
Files Changed
MODIFY /db/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/api/SingleStringQuery.java

Repository Revision Date User Message
ASF #365775 Tue Jan 03 23:57:17 UTC 2006 clr JDO-271 changed candidate class from Employee to FullTimeEmployee
Files Changed
MODIFY /db/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/jdoql/variables/VariablesAndFields.java
MODIFY /db/jdo/trunk/tck20/test/java/org/apache/jdo/tck/query/result/Grouping.java