[
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: [email protected]
For additional commands, e-mail: [email protected]