Task #882 (closed)
Opened 16 years ago
Closed 16 years ago
CollectionCount: loadContainerHierarchy
Reported by: | jburel | Owned by: | jamoore |
---|---|---|---|
Priority: | major | Milestone: | 3.0-Beta3 |
Component: | API | Version: | 3.0-M3 |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
When setting the root to Dataset
the count does not work for images contained in the dataset
i.e.
((ImageData?) object).getAnnotationsCounts(); always returns null
Change History (5)
comment:1 Changed 16 years ago by jmoore
comment:2 Changed 16 years ago by jburel
Confusion
the call that does not work is the one related to the annotation.
((ImageData) object).getAnnotationsCounts(); i.e. asImage().getAnnotationLinksCountPerOwner();
comment:3 Changed 16 years ago by jmoore
Right. But we didn't specify that as something that should return non-null. The Hibernate workaround was only added to loadContainerHierarchy.
comment:4 Changed 16 years ago by jburel
- Summary changed from CollectionCount: findContainerHierarchy to CollectionCount: loadContainerHierarchy
Sorry I wrote findContainerHierarchy
it is loadContainerHierarchy
The workaround does not seem to work.
comment:5 Changed 16 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
Can you show me exactly what you're doing, because this:
throws this: