Remove repository/workspace mappings from module descriptors
------------------------------------------------------------

                 Key: MAGNOLIA-3120
                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3120
             Project: Magnolia
          Issue Type: Improvement
          Components: core, modulemechanism
            Reporter: Grégory Joseph
            Assignee: Philipp Bärfuss
             Fix For: Green


Modules can currently declare workspaces, but they also need to declare the 
repository to which they're mapped. It shouldn't be any of their business, as 
we've seen with UGC modules, when we want these workspaces to be shared for 
instance. A first fix was done with MAGNOLIA-3064, but ultimately, we should 
reflect this in the module descriptors AND our code as well.

An updated module descriptor might look like:
{code}
  <repositories>
    <repository>
      <name>Store</name>
      <nodeTypeFile>/mgnl-nodetypes/owfe-nodetypes.xml</nodeTypeFile>
    </repository>
    <repository>
      <name>Expressions</name>
      <nodeTypeFile>/mgnl-nodetypes/owfe-nodetypes.xml</nodeTypeFile>
    </repository>
  </repositories>
{code}
(for the workflow module)

Additionally, we'll need to check and remove public API methods which take both 
repository and workspace name strings, and use our repository-to-workspace 
mapping consistently.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to