Skip to content

[Bug]: Problem with json payload when bulk check out #18427

@The-patik

Description

@The-patik

Snipe-IT Version

v8.3.7 build 20803

PHP Version

v8.2.30

Composer Version

2.6.4

MySQL/MariaDB version

10.11.11-MariaDB

How did you install Snipe-IT?

Git install

Is this a fresh install or an upgrade?

NA

What happened?

Hello,

I am having trouble with json payload when using the Webhook. When using the bulk check out function with more accessories, the "assigned_to" inside the accessory json payload is "null". When doing the normal check out with one accessory, the "assigned_to" is OK and have the user inside.

I am using the Webhook for some pdf printing from template and I am getting important information from that json.

I had the old version 8.1.17 and upgraded to the newest and the problem was not solved.

Wrong:
Image

Good:
Image

What browsers are you seeing the problem on?

No response

Can you reproduce this on the public demo?

No

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

Assignees

No one assigned

    Labels

    ❓ not sure if bugThis issue has not been confirmed as a bug yetapi

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions