Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes observer fails when creating and assigning a new asset #11290

Merged

Conversation

inietov
Copy link
Collaborator

@inietov inietov commented Jun 9, 2022

Description

If user wants to checkout an asset at the moment of creation, the Asset Observer fails because a couple fields that it checks to decide if log or not the changes doesn't exist yet.

This changes check that those fields already exist to try and log changes over the assets.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Test Configuration:

  • PHP version: 7.4.16
  • MySQL version: 8.0.23
  • Webserver version: nginx/1.19.8
  • OS version: Debian 10

Checklist:

@inietov inietov requested review from uberbrady and snipe June 9, 2022 23:12
@snipe snipe merged commit 166f526 into snipe:develop Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants