Once again, Richard has proved to be an invaluable Magnolia asset! You were
dead on with your suspicion! The "shopProducts" workspace is located in the
clustered repository... together with all other shop workspaces. However I do
not understand why?
In the module descriptor of the shop module, all workspaces are defined in the
"magnolia" repository:
[code]
<repositories>
<repository>
<name>magnolia></name>
<workspaces>
<workspace>shoppingCarts</workspace>
<workspace>shops</workspace>
<workspace>shopProducts</workspace>
<workspace>shopSuppliers</workspace>
</workspaces>
</repository>
</repositories>
[/code]
In the repositories.xml after the "magnolia" repository definition a
"magnoliaClustered" repository is defined with a workspace called
"shoppingCarts". And in the RepositoryMappings-element only the shoppingCarts
workspace is mapped to the "magnoliaClustered" workspace:
[code]
<RepositoryMapping>
<Map name="shoppingCarts" repositoryName="magnoliaClustered"
workspaceName="shoppingCarts" />
<Map name="website" repositoryName="magnolia"
workspaceName="website" />
<Map name="config" repositoryName="magnolia"
workspaceName="config" />
<Map name="users" repositoryName="magnolia"
workspaceName="users" />
<Map name="userroles" repositoryName="magnolia"
workspaceName="userroles" />
<Map name="usergroups" repositoryName="magnolia"
workspaceName="usergroups" />
<Map name="mgnlSystem" repositoryName="magnolia"
workspaceName="mgnlSystem" />
<Map name="mgnlVersion" repositoryName="magnolia"
workspaceName="mgnlVersion" />
<Map name="dam" repositoryName="magnolia"
workspaceName="dam" />
</RepositoryMapping>
[/code]
Now why would the shopProducts workspace be placed in the magnoliaClustered
repo?! Should I place the shoppingCarts mapping last? Or do I explicitly need
to map the other shop workspaces to the magnolia repo? And if so, why?
Thanks!
-will
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=11f13f90-1e4f-4134-acb9-d1929f8ca309
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------