andrzejkupczyk / mantisbt-todolists

To-Do Lists Plugin for MantisBT
Apache License 2.0
12 stars 3 forks source link

Plugin doesn't work on MantisBT 2.26.0 :( #50

Closed Genisys-Matt closed 8 months ago

Genisys-Matt commented 8 months ago

Describe the bug The Plugin doesn't allow you to add things to a list on 2.26.0. The plugin box shows, and you can enter text, but clicking "Add" or hitting Enter doesn't add anything.

To Reproduce Try to add something to a list on 2.26.0

Expected behavior The entered text should add to the list.

Screenshots N/A

Environment (please complete the following information):

Additional context N/A

Genisys-Matt commented 8 months ago

After doing a bit of digging in the logs, I found these:

2024-01-03 14:47:00 | Error | 81.137.221.179 | 500 | POST /api/rest/plugins/ToDoLists/tasks HTTP/1.0 |   |   | 1.53 K | Apache SSL/TLS access

2024-01-03 14:47:00 | Error | 81.137.221.179 |   | [core:alert] .../api/rest/.htaccess: Invalid command 'CGIPassAuth', perhaps misspelled or defined by a module not included in the server configuration, referer: https://<our_domain>/view.php?id=251 |   |   |   | Apache error

So I went to /api/rest/.htaccess

It mentions this - https://mantisbt.org/bugs/view.php?id=26365 and has this setting: 'CGIPassAuth On'

I tried commenting out the 'CGIPassAuth On' code.

The Plugin now works as before. :)

andrzejkupczyk commented 8 months ago

I really appreciate the effort you put into gathering all the details. It's absolutely fantastic to hear that you took the initiative to investigate and resolve the issue on your own! You did a great job! 🤝