Red Hat Bugzilla – Bug 118612
ItemIndexPage.BundleListModelBuilder and multilingual content
Last modified: 2007-04-18 13:04:24 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113
Description of problem:
When viewing a folder on the "Public Site" of a content section, all
bundles with at least one live language are shown. Clicking on a
bundle for which no language instance accepted by the client browser
exists, results in a 404 error.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. In the default content section, create a new Article with a
language instance which your browser does not accept.
2. Publish the instance.
3. Go to /ccm/content/
4. Click on the item, and you will get a 404 error.
Actual Results: All bundles with at least one live language instance
Expected Results: ItemIndexPage.BundleListModelBuilder.makeModel() should
use ContentBundle.negotiate, or a custom query, to only include
bundles which have a language instance which the client will accept.
Closing old tickets.