Hi,

I am trying to execute the following code in the BeanShell module for
magnolia:

import info.magnolia.cms.core.HierarchyManager;
import info.magnolia.context.MgnlContext;
import info.magnolia.cms.beans.config.ContentRepository;

HierarchyManager hm =
MgnlContext.getHierarchyManager(ContentRepository.USERS);
hm.delete("/admin/hd83");
hm.save();

When I execute this in 3.53CE the code executes correctly and deletes
the user.

However, when I execute this same code in 3.52EE I get the following
error:

Sourced file: inline evaluation of: ``import
info.magnolia.cms.core.HierarchyManager; import info.magnolia.context.Mg
. . . '' : Method Invocation hm.save3: import
info.magnolia.cms.beans.config.ContentRepository;
4:
5: HierarchyManager hm =
MgnlContext.getHierarchyManager(ContentRepository.USERS);
6: hm.delete("/admin/as25");
7: hm.save();

Any clues what's going wrong?

Cheers,

Chris

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to