Skip to content

[Bug]: Audit images not uploading properly #18002

@ElBuenAnvita

Description

@ElBuenAnvita

Snipe-IT Version

v8.3.3 - build 20061 (master)

PHP Version

8.2.28

Composer Version

2.2.6

MySQL/MariaDB version

Ver 15.1 Distrib 10.11.11-MariaDB

How did you install Snipe-IT?

Manual install (downloading zip/tar.gz)

Is this a fresh install or an upgrade?

Upgrade

What happened?

The image uploaded during an asset audit is not saved in the log (or cannot be viewed in the list).

In addition, the file name remains as the name of the formatting function (fileUploadNameFormatter).

Tested on the demo version, but it's basically the same on my installation.
Image

Image Image

This is only applicable for audits, the option for only uploading files is fine.

What browsers are you seeing the problem on?

Firefox, Chrome

Can you reproduce this on the public demo?

Yes

Do you have full multiple company support enabled?

No

If you have full multiple company support enabled, do you have location scoping to company enabled?

I do not have full multiple company support enabled

Application log output

Browser console output

Common Issues

  • I have searched this repo for existing issues related to my issue (including closed issues)
  • My APP_URL is set correctly in my .env file (including http or https and no trailing slash)
  • I have searched the official Snipe-IT documentation and have checked the Common Issues documentation (where applicable)
  • I have run database migrations (where applicable).
  • I have attached screenshots and/or videos of the issue (where applicable)

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions