snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
10.84k stars 3.13k forks source link

Requestable Items issue #15325

Open qu1dam opened 3 weeks ago

qu1dam commented 3 weeks ago

Debug mode

Describe the bug

Hello, regarding the Requestable Items option. My page url ends with /account/requestable-assets when I click on the Request button my page url changes to /account/request-asset/114 and show the message 500 Server Error After I go back to Requestable Items again I see that the asset has been properly requested. and Asset under that or any other number exists.

The problem is obvious that for some reason when pressing the button Request or Cancel it does not stay at the address /account/requestable-assets but redirects in this case to /account/request-asset/114, can someone tell me how to solve the mentioned problem, thanks

Reproduction steps

1,

Expected behavior

While pressing the Request or Cancel button, you should stay at the address /account/requestable-assets and not throw an error

Screenshots

No response

Snipe-IT Version

v7.0.11

Operating System

Debian

Web Server

Apache

PHP Version

8.1.2 or greater

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

snipe commented 3 weeks ago

Hi there - as always, we'd need your app logs to see what the error message.

qu1dam commented 2 weeks ago

Hi there - as always, we'd need your app logs to see what the error message.

Hello, I have solved the above problem. It was because the mail configuration was not set.

After I adjusted the same, the mentioned problem was solved.

What I noticed is if there is a logo set under Update Branding Settings Email Logo for some reason the app puts a ")" before the logo for some reason, is that a bug?