-
Type: Bug
-
Status: Open (View Workflow)
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.9 Larks, 2.11 Larks
-
Fix Version/s: 3.2 Larks
-
Labels:None
When there're several posts in a topic and the first post is deleted, the server redirects to the deleted post:
"POST /jcommune/posts/565 HTTP/1.1" 302 - (Delete the first post)
Response code: 302
Location: http://192.168.0.98:8080/jcommune/posts/565
"GET /jcommune/posts/565 HTTP/1.1" 302 -
"GET /jcommune/errors/404 HTTP/1.1" 404 9445
This problem doesn't affect the end user, because it's possible to delete a first post only using direct HTTP request.
Steps to reproduce:
1. Login as administrator
2. Create a topic in any branch
3. Create several posts in the topic
4. Send POST request with _method=DELETE for the first post in the topic.
Actual Result: the server redirects to deleted post and as result, redirects to 404 page.