2つのCMISリポジトリを含むFileNetp8サーバーがあります:RepoAとRepoB。
セッションパラメータを使用してどちらかを選択したいのですが、RepositoryId常に2つのリポジトリになります。
var cmisParameters = new Dictionary<string, string>();
cmisParameters[SessionParameter.BindingType] = BindingType.AtomPub;
cmisParameters[SessionParameter.AtomPubUrl] = "myurl";
cmisParameters[SessionParameter.User] = "myuser";
cmisParameters[SessionParameter.Password] = "mypassword";
cmisParameters[SessionParameter.RepositoryId] = "RepoB";
SessionFactory factory = SessionFactory.NewInstance();
IList<IRepository> repositories = factory.GetRepositories(cmisParameters);
foreach (var repository in repositories)
{
Console.WriteLine(repository.Id);
}
出力は次のとおりです。
RepoA
RepoB
私はそう指定したRepositoryIdので、出力は。だけであるべきだと思いますRepoB。
これは既知のFileNetバグですか?それとも私は何かが足りないのですか?