Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-4329

Erreur lors de l'accès au back-office sur un widget qui nécessite des droits d'admin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.10.4, 4.11.0
    • None
    • None
    • None
    • 4.11M3
    • Oui

      Apparemment nous utilisons le mauvais widget, qui nécessite un droit sur le workspace admin.
      Il s'agit du widget utilisé pour la donnée pegaseEspace (que ce soit pour le catalogue ou pour un contenu).

      Caused by: org.apache.cocoon.util.location.LocatedException: Can not dispatch request '3' : 'core-ui' 'client-call' '{role=org.ametys.plugins.core.ui.util.ParameterEnumeratorHelper, id=null, methodName=getEntries, parameters=[org.ametys.plugins.odfsync.pegase.EspaceEnumerator]}'
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_handleError:322
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatchingSubRequest:236
      at org.ametys.core.ui.dispatcher.DispatchGenerator#_dispatching:151
      at org.ametys.core.ui.dispatcher.DispatchGenerator#generate:102
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#processXMLPipeline:581
      at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline#processXMLPipeline:301
      at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline#process:483
      at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode#invoke:144
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:47
      at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode#invoke:108
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode#invoke:143
      at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode#invokeNodes:69
      
      Caused by: org.xml.sax.SAXException: Could not get sitemap source cocoon://_plugins/core-ui/client-call?role=org.ametys.plugins.core.ui.util.ParameterEnumeratorHelper&methodName=getEntries&parameters=org.ametys.plugins.odfsync.pegase.EspaceEnumerator&
      org.apache.cocoon.ProcessingException: Sitemap: error when calling sub-sitemap
      at <map:mount> - resource://org/ametys/runtime/kernel/sitemap.xmap:155:82
      at org.apache.cocoon.components.source.impl.SitemapSource#init:380
      at org.apache.cocoon.components.source.impl.SitemapSource#<init>:215
      at org.apache.cocoon.components.source.impl.SitemapSourceFactory#getSource:68
      at org.apache.excalibur.source.impl.SourceResolverImpl#resolveURI:208
      Caused by: org.ametys.runtime.authentication.AccessDeniedException: The user UserIdentity [login=xxxx, population=utilisateurs] tried to access the callable method [public java.util.Map<java.lang.String, java.lang.Object> org.ametys.plugins.core.ui.util.ParameterEnumeratorHelper.getEntries(java.lang.String) throws java.lang.Exception] without sufficient rights
      at org.ametys.core.ui.ExecuteClientCallsAction#_checkAccess:308
      at org.ametys.core.ui.ExecuteClientCallsAction#_executeMethod:225
      at org.ametys.core.ui.ExecuteClientCallsAction#act:203
      at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode#invoke:120
      

            bmaurel Bérénice Maurel
            lperier Laurence Perier
            Bérénice Maurel Bérénice Maurel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: