Bug 102884
Summary: | Folder.getItems() doesn't fetch type name property | ||
---|---|---|---|
Product: | [Retired] Red Hat Enterprise CMS | Reporter: | Daniel Berrangé <berrange> |
Component: | other | Assignee: | Archit Shah <archit.shah> |
Status: | CLOSED RAWHIDE | QA Contact: | Jon Orris <jorris> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | nightly | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-10-07 21:27:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 100952 |
Description
Daniel Berrangé
2003-08-22 10:20:46 UTC
>Change ItemSearchFolderBrowswer to use Folder#getPrimaryInstances
I don't think that we should necessarily default to using the Primary Instance.
For Carrefour, we have authors that speak 4 different languages so we need the
UI to be multi-lingual. If we always show the French display name then it may
not make sense to the Italian author that is looking for the Italian item. I
think that we should either stay with the bundle or use a language negotiation
tool similar to what Aram proposed to select out the correct language for the
given user.
The data queries are fixed on tip and 6.0 branch. In addition, the persistence bug has been resolved on tip and I am waiting for some more testing before pushing it to 6.0. However, this does not fully resolve the issue. getTypeLabel now returns null because bundles don't have a content type. The fix is to set the content type of the bundle to the that of its primary instance. That fix requires an upgrade script. I believe that it is reasonable to push that into the 6.0 branch as well. bundles now have a content type on tip (35649) and branch (35651). |