Skip to content

[Bug]: License Seat PATCH API Does Not Update notes Field #18024

@dirkmelzer

Description

@dirkmelzer

Snipe-IT Version

v8.3.3 build 20061 (g884d2a955)

PHP Version

8.3.6

Composer Version

don´t know

MySQL/MariaDB version

MYSQL

How did you install Snipe-IT?

Docker

Is this a fresh install or an upgrade?

Upgrade

What happened?

When updating a license seat via the API using PATCH, the API response indicates a successful update, but the notes field is not actually updated in the database.
The issue is reproducible — the API returns a success message, and the response object includes the new value for notes, but neither the web GUI nor a subsequent API GET request reflects the change.

Invoke-RestMethod -Uri '/api/v1/licenses/11/seats/364'
-Method PATCH -Headers $authHeader
-ContentType 'application/json' -Body '{"assigned_to":148,"notes":"TEST"}'

What browsers are you seeing the problem on?

No response

Can you reproduce this on the public demo?

Yes

Do you have full multiple company support enabled?

Yes

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

Yes

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

Labels

No labels
No labels

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions