portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Woonsan Ko (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Resolved: (JS2-1142) Space is not created from the specified template folder. (foldet.metadata is not copied from the template.)
Date Tue, 23 Mar 2010 19:18:30 GMT

     [ https://issues.apache.org/jira/browse/JS2-1142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Woonsan Ko resolved JS2-1142.
-----------------------------

    Resolution: Fixed

Fixed.

The cause of the problem was like this:

The SpaceServiceImpl#storeSpaceFromTemplate() method, which is now removed and merged into
createSpace() method, did like this:

            pageManager.deepCopyFolder(templateFolder, space.getPath(), space.getOwner());
            spaceFolder = pageManager.getFolder(space.getPath());
            storeSpace(space);

However, the spaceFolder is a different instance from the underlying folder of the space object.
So, folder metadata cached inside the underlying folder object of the space is stored again.
Therefore, I merged the two methods: newSpace() and storeSpaceFromTemplate() to avoid this
problem.


> Space is not created from the specified template folder. (foldet.metadata is not copied
from the template.)
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: JS2-1142
>                 URL: https://issues.apache.org/jira/browse/JS2-1142
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>            Reporter: Woonsan Ko
>            Assignee: Woonsan Ko
>             Fix For: 2.2.1
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message