Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9547

Unable to delete site

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.8.5
    • 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)

            Unassigned Unassigned
            ogehin Olivier Gehin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: