-
Bug
-
Resolution: Fixed
-
Critical
-
3.8.4
-
None
-
None
When you try to delete a site. We get an exceptionÂ
Caused by: java.lang.IllegalStateException: The current user is the super user
at org.ametys.runtime.plugins.core.user.AvalonCurrentUserProvider.getUser(AvalonCurrentUserProvider.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.ametys.runtime.plugin.component.PluginsComponentManager$ComponentInvocationHandler.invoke(PluginsComponentManager.java:159)
at com.sun.proxy.$Proxy10.getUser(Unknown Source)
at org.ametys.web.repository.content.shared.SharedContentManager.switchSharedContentReferences(SharedContentManager.java:314)
at org.ametys.web.repository.content.jcr.ModifiableDefaultWebContent.remove(ModifiableDefaultWebContent.java:94)
at org.ametys.web.repository.site.Site.remove(Site.java:504)
at org.ametys.web.site.DeleteSiteAction.act(DeleteSiteAction.java:53)