Cannot persist a GameData object
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MUGLE |
Fix Released
|
Critical
|
Scott Ritchie |
Bug Description
I am having trouble creating GameData objects and persisting them in the database. I created a GameData object like this (in DataTestService
GameData[] games = new GameData[] {
pm.
Then, clicking the Populate button results in this error at runtime:
> The owner field game of element class
> au.edu.
> has an incorrect type "au.edu.
> be "au.edu.
That is on the line:
pm.
I assume this is because we have a class GameData which has a Set<Achievement
I replaced all uses of the Game type in AchievementData with GameData. This fixes that error, but now it generates another exception on the same line:
> Class "au.edu.
> field "achievements" and this has no mapping in the table for the element
> class "au.edu.
> field "game"
I can't figure this one out. The GameData.
Changed in mugle: | |
assignee: | nobody → Scott Ritchie (sritchie) |
Changed in mugle: | |
status: | In Progress → Fix Committed |
Changed in mugle: | |
status: | Fix Committed → Fix Released |
I have fixed the first exception (Game -> GameData) in trunk r115. Now stuck on the second one.