[jira] [Resolved] (SLING-11997) Sling post servlet delete protected node like group report success but actual failed

2023-08-08 Thread Jun Zhang (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jun Zhang resolved SLING-11997.
---
Resolution: Not A Problem

endu p an AEM issue instead of sling issue, sorry

> Sling post servlet delete protected node like group report success but actual 
> failed
> 
>
> Key: SLING-11997
> URL: https://issues.apache.org/jira/browse/SLING-11997
> Project: Sling
>  Issue Type: Bug
>  Components: Sling Security
>Reporter: Jun Zhang
>Priority: Minor
>
> Sling post servlet delete protected node report success but actual failed
>  
> curl -u user:pwd -F":operation=delete" 
> [http://localhost:8080/home/groups/C/CrKDhM1fP5xxs5YcN6rL|http://localhost:4502/home/groups/C/CrKDhM1fP5xxs5YcN6rL]
>  
> it report success response below:
> {code:java}
> curl -u admin:admin -F"deleteAuthorizable=true" 
> http://localhost:8080/home/groups/C/CrKDhM1fP5xxs5YcN6rL
> 
> 
>     Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL
> 
>     
>     Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL
>     
>         
>             
>                 Status
>                 200
>             
>             
>                 Message
>                 OK
>             
>             
>                 Location
>                  alt="invalid link: /home/groups/C/CrKDhM1fP5xxs5YcN6rL" title="invalid link: 
> /home/groups/C/CrKDhM1fP5xxs5YcN6rL" 
> border="0">/home/groups/C/CrKDhM1fP5xxs5YcN6rL src="/libs/cq/linkchecker/resources/linkcheck_c.gif" border="0">
>             
>             
>                 Parent Location
>                  id="ParentLocation">/home/groups/C
>             
>             
>                 Path
>                  id="Path">/home/groups/C/CrKDhM1fP5xxs5YcN6rL
>             
>             
>                 Referer
>                 
>             
>             
>                 ChangeLog
>                 pre/pre
>             
>         
>     
>     Go Back
>      alt="invalid link: /home/groups/C/CrKDhM1fP5xxs5YcN6rL" title="invalid link: 
> /home/groups/C/CrKDhM1fP5xxs5YcN6rL" border="0">Modified Resource class="cq-LinkChecker cq-LinkChecker--suffix cq-LinkChecker--invalid" 
> src="/libs/cq/linkchecker/resources/linkcheck_c.gif" border="0">
>     Parent of Modified Resource
>     
>  {code}
>  but actually failed
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (SLING-11997) Sling post servlet delete protected node like group report success but actual failed

2023-08-08 Thread Jun Zhang (Jira)


 [ 
https://issues.apache.org/jira/browse/SLING-11997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jun Zhang updated SLING-11997:
--
Description: 
Sling post servlet delete protected node report success but actual failed

 

curl -u user:pwd -F":operation=delete" 
[http://localhost:8080/home/groups/C/CrKDhM1fP5xxs5YcN6rL|http://localhost:4502/home/groups/C/CrKDhM1fP5xxs5YcN6rL]

 

it report success response below:
{code:java}
curl -u admin:admin -F"deleteAuthorizable=true" 
http://localhost:8080/home/groups/C/CrKDhM1fP5xxs5YcN6rL


    Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL

    
    Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL
    
        
            
                Status
                200
            
            
                Message
                OK
            
            
                Location
                /home/groups/C/CrKDhM1fP5xxs5YcN6rL
            
            
                Parent Location
                /home/groups/C
            
            
                Path
                /home/groups/C/CrKDhM1fP5xxs5YcN6rL
            
            
                Referer
                
            
            
                ChangeLog
                pre/pre
            
        
    
    Go Back
    Modified Resource
    Parent of Modified Resource
    
 {code}
 but actually failed

 

 

  was:
Sling post servlet delete protected node report success but actual failed

 

curl -u user:pwd -F":operation=delete" 
[http://localhost:4502/home/groups/C/CrKDhM1fP5xxs5YcN6rL]

 

it report success response below:
{code:java}
curl -u admin:admin -F"deleteAuthorizable=true" 
http://localhost:4502/home/groups/C/CrKDhM1fP5xxs5YcN6rL


    Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL

    
    Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL
    
        
            
                Status
                200
            
            
                Message
                OK
            
            
                Location
                /home/groups/C/CrKDhM1fP5xxs5YcN6rL
            
            
                Parent Location
                /home/groups/C
            
            
                Path
                /home/groups/C/CrKDhM1fP5xxs5YcN6rL
            
            
                Referer
                
            
            
                ChangeLog
                pre/pre
            
        
    
    Go Back
    Modified Resource
    Parent of Modified Resource
    
 {code}
 but actually failed

 

 


> Sling post servlet delete protected node like group report success but actual 
> failed
> 
>
> Key: SLING-11997
> URL: https://issues.apache.org/jira/browse/SLING-11997
> Project: Sling
>  Issue Type: Bug
>  Components: Sling Security
>Reporter: Jun Zhang
>Priority: Minor
>
> Sling post servlet delete protected node report success but actual failed
>  
> curl -u user:pwd -F":operation=delete" 
> [http://localhost:8080/home/groups/C/CrKDhM1fP5xxs5YcN6rL|http://localhost:4502/home/groups/C/CrKDhM1fP5xxs5YcN6rL]
>  
> it report success response below:
> {code:java}
> curl -u admin:admin -F"deleteAuthorizable=true" 
> http://localhost:8080/home/groups/C/CrKDhM1fP5xxs5YcN6rL
> 
> 
>     Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL
> 
>     
>     Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL
>     
>         
>             
>                 Status
>                 200
>             
>             
>                 Message
>                 OK
>             
>             
>                 Location
>                  alt="invalid link: /home/groups/C/CrKDhM1fP5xxs5YcN6rL" title="invalid link: 
> /home/groups/C/CrKDhM1fP5xxs5YcN6rL" 
> border="0">/home/groups/C/CrKDhM1fP5xxs5YcN6rL src="/libs/cq/linkchecker/resources/linkcheck_c.gif" border="0">
>             
>             
>                 Parent Location
>                  id="ParentLocation">/home/groups/C
>             
>             
>                 Path
>                  id="Path">/home/groups/C/CrKDhM1fP5xxs5YcN6rL
>             
>             
>                 Referer
>                 
>             
>             
>                 ChangeLog
>                 pre/pre
>             
>         
>     
>     Go Back
>      alt="invalid link: /home/groups/C/CrKDhM1fP5xxs5YcN6rL" title="invalid link: 
> /home/groups/C/CrKDhM1fP5xxs5YcN6rL" border="0">Modified Resource class="cq-LinkChecker cq-LinkChecker--suffix cq-LinkChecker--invalid" 
> src="/libs/cq/linkchecker/resources/linkcheck_c.gif" border="0">
>     Parent of Modified Resource
>     
>  {code}
>  but actually failed
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (SLING-11997) Sling post servlet delete protected node like group report success but actual failed

2023-08-08 Thread Jun Zhang (Jira)


[ 
https://issues.apache.org/jira/browse/SLING-11997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17752196#comment-17752196
 ] 

Jun Zhang commented on SLING-11997:
---

FYI, proper parameter like -FdeleteAuthorizable=true works to delete that 
successfully

> Sling post servlet delete protected node like group report success but actual 
> failed
> 
>
> Key: SLING-11997
> URL: https://issues.apache.org/jira/browse/SLING-11997
> Project: Sling
>  Issue Type: Bug
>  Components: Sling Security
>Reporter: Jun Zhang
>Priority: Minor
>
> Sling post servlet delete protected node report success but actual failed
>  
> curl -u user:pwd -F":operation=delete" 
> [http://localhost:8080/home/groups/C/CrKDhM1fP5xxs5YcN6rL|http://localhost:4502/home/groups/C/CrKDhM1fP5xxs5YcN6rL]
>  
> it report success response below:
> {code:java}
> curl -u admin:admin -F"deleteAuthorizable=true" 
> http://localhost:8080/home/groups/C/CrKDhM1fP5xxs5YcN6rL
> 
> 
>     Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL
> 
>     
>     Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL
>     
>         
>             
>                 Status
>                 200
>             
>             
>                 Message
>                 OK
>             
>             
>                 Location
>                  alt="invalid link: /home/groups/C/CrKDhM1fP5xxs5YcN6rL" title="invalid link: 
> /home/groups/C/CrKDhM1fP5xxs5YcN6rL" 
> border="0">/home/groups/C/CrKDhM1fP5xxs5YcN6rL src="/libs/cq/linkchecker/resources/linkcheck_c.gif" border="0">
>             
>             
>                 Parent Location
>                  id="ParentLocation">/home/groups/C
>             
>             
>                 Path
>                  id="Path">/home/groups/C/CrKDhM1fP5xxs5YcN6rL
>             
>             
>                 Referer
>                 
>             
>             
>                 ChangeLog
>                 pre/pre
>             
>         
>     
>     Go Back
>      alt="invalid link: /home/groups/C/CrKDhM1fP5xxs5YcN6rL" title="invalid link: 
> /home/groups/C/CrKDhM1fP5xxs5YcN6rL" border="0">Modified Resource class="cq-LinkChecker cq-LinkChecker--suffix cq-LinkChecker--invalid" 
> src="/libs/cq/linkchecker/resources/linkcheck_c.gif" border="0">
>     Parent of Modified Resource
>     
>  {code}
>  but actually failed
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Created] (SLING-11997) Sling post servlet delete protected node like group report success but actual failed

2023-08-08 Thread Jun Zhang (Jira)
Jun Zhang created SLING-11997:
-

 Summary: Sling post servlet delete protected node like group 
report success but actual failed
 Key: SLING-11997
 URL: https://issues.apache.org/jira/browse/SLING-11997
 Project: Sling
  Issue Type: Bug
  Components: Sling Security
Reporter: Jun Zhang


Sling post servlet delete protected node report success but actual failed

 

curl -u user:pwd -F":operation=delete" 
[http://localhost:4502/home/groups/C/CrKDhM1fP5xxs5YcN6rL]

 

it report success response below:
{code:java}
curl -u admin:admin -F"deleteAuthorizable=true" 
http://localhost:4502/home/groups/C/CrKDhM1fP5xxs5YcN6rL


    Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL

    
    Content modified /home/groups/C/CrKDhM1fP5xxs5YcN6rL
    
        
            
                Status
                200
            
            
                Message
                OK
            
            
                Location
                /home/groups/C/CrKDhM1fP5xxs5YcN6rL
            
            
                Parent Location
                /home/groups/C
            
            
                Path
                /home/groups/C/CrKDhM1fP5xxs5YcN6rL
            
            
                Referer
                
            
            
                ChangeLog
                pre/pre
            
        
    
    Go Back
    Modified Resource
    Parent of Modified Resource
    
 {code}
 but actually failed

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)