[MAGNOLIA-472] ContentRepository should list the available repositories dynamically Created: 13/Jul/05  Updated: 17/Mar/09  Resolved: 20/Jul/05

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: 2.1 Final

Type: New Feature Priority: Major
Reporter: Philipp Bärfuss Assignee: Boris Kraft
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

repositories.xml --> ContentRepository.ALL_REPOSITORIES



 Comments   
Comment by Philippe Saint-Just [ 13/Jul/05 ]

Actually, info.magnolia.cms.beans.config.ContentRepository does load repositories dynamically. The problem is the final variable ALL_REPOSITORIES, which is hardcoded with the four default repositories.
For my purposes, this is a problem specifically in info.magnolia.module.admininterface.pages.UserRolesEditIncludeAclDialogPage, where it uses the variable to try to loop over all repositories.

Philippe

Comment by Philippe Saint-Just [ 13/Jul/05 ]

This sounds more like a bug than a new feature.

Philippe

Comment by Sameer Charles [ 13/Jul/05 ]

fixed, updated in current trunk
use ContentRepository.getAllRepositoryNames() instead of ContentRepository.All_REPOSITORIES

Comment by Boris Kraft [ 20/Jul/05 ]

Change fix version to RC2

Generated at Mon Feb 12 03:17:46 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.