Scenario: I've a custom store that is a content store, among other things. Here is the excerpt from Domain.xml: <scope match="/files/Course Reports" store="xxxstore" /> <scope match="/" store="memory"/> There is a link node /files/root/resources/Course Reports/ that points to /files/Course Reports/root. Now, when I call content.retrieve() to retrieve /files/Course Reports/root/someFile.txt, I would expect that the xxxstore's retrieveRevisionDescriptors() is executed. As it turns out, it is calling memory's retrieveRevisionDescriptors().
Created attachment 7022 [details] patch for ContentImpl to fix the problem
My attached patch doesn't cover all the grounds. I believe other retrieve() methods and other methods (create, store, etc) have the same problem