cancel
Showing results for 
Search instead for 
Did you mean: 

Need Debugging Ideas

ddelapasse
Champ in-the-making
Champ in-the-making
My deletes are failing and the log file shows:

127.0.0.1 - - [07/Jul/2015:16:14:43 -0400] "DELETE /alfresco/s/slingshot/doclib/action/file/node/workspace/SpacesStore/c7aafa4c-3a1a-405f-9f8b-6b2857df4b75?alf_ticket=TICKET_1942d924dc0c29f602f61bec2865c8ccff6260b6 HTTP/1.1" 403 -
10.3.0.75 - - [07/Jul/2015:16:14:43 -0400] "DELETE /share/proxy/alfresco/slingshot/doclib/action/file/node/workspace/SpacesStore/c7aafa4c-3a1a-405f-9f8b-6b2857df4b75 HTTP/1.0" 403

Can someone tell me how I can debug inside of the /alfresco/s/slingshot/doclib/action/file/node/ code?  I can't find it either in the java or in the javascript.

thanks!!!
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

it appears there is some kind of permission issue at work. 403 is the status code for FORBIDDEN and usually that is the result of an access denied evaluation of permissions.

You could set the logger org.alfresco.repo.security.permissions.impl.acegi.ACLEntryVoter to DEBUG to find out where you have an access denied situation. Beware that this will generate A LOT of log output, so it's best to check in isolation…

Regards
Axel

ddelapasse
Champ in-the-making
Champ in-the-making
Thanks AFaust!  That helped convince me that it wasn't Alfresco's issue at all, but in a tomcat web.xml file we had:

<init-param>
    <param-name>cors.allowed.methods</param-name>
    <param-value>GET,POST,HEAD,OPTIONS,PUT</param-value>
  </init-param>

^^ note the absence of DELETE.  So it was being rejected with no clue - only the 403!