On Nov 30, 2012, at 12:40 AM, Petr Kadlec (via Magnolia Forums) <[email protected]> wrote:
> Hello everybody, > > I'm trying to set up DMS as clustered workspace. I managed to get it working > (according to > [url=http://maips21.altervista.org/wordpress/2011/11/18/a-clustered-repository-for-magnolia-in-5-minutes/]this > post[/url]), but ran into problems with deletion of content: > > 1. I have clustered dms, so I dont want (don't need) to activate the content, > so I would like this option disabled (doesn't bug me that much) and > especially when I delete the document I want it to be gone and not just > marked as deleted with the need of activating it. > In short I would like just dms to function as when there is no activation > subscriber - content is immediately deleted Go to config:/modules/dms/commands and delete whole "delete" command. That should do it. > and activate option is disabled. This is bit trickier. To disable the option you would need to extend info.magnolia.module.dms.DMSAdminTreeConfig and disable it there. Alternatively you can go to config:/modules/dms/commands/activate and remove "version" and "startFlow" commands from the chain and change "message" property in "Alert" command to say something like "Sorry activation of DMS content is disabled". > 2. Also now when I try to delete document I get popup saying just "dms", and > in log there is this error message: > [code]012-11-30 00:07:57,151 ERROR > info.magnolia.cms.core.version.BaseVersionManager : failed to copy > versionable node to version store, reverting all changes made in this session > 012-11-30 00:07:57,151 ERROR > agnolia.cms.servlets.CommandBasedMVCServletHandler: can't execute command > org.apache.commons.lang.exception.NestableException: exception during > executing command > ... > Caused by: javax.jcr.NoSuchWorkspaceException: dms[/code] That sounds like a bug to me. Can you post whole stack trace with few extra lines of log above and below to paste bin.com or similar service and post the link to it here? Thx. Jan > > But actually I need to solve just the first problem, because then there will > also be no versioning on dms so the second error wont occur. > > Note: I also removed [i]dms[/i] node form [i]subscriptions[/i] hoping it will > then behave as with no subscriber, but it does not. > > Thanks for any help! > > -- > Context is everything: > http://forum.magnolia-cms.com/forum/thread.html?threadId=f2704bf1-0a97-4df5-842d-f5a2d4ec61ca > > > ---------------------------------------------------------------- > 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]> > ---------------------------------------------------------------- ---------------------------------------------------------------- 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]> ----------------------------------------------------------------
