Skip to content

Conversation

@MyvTsv
Copy link

@MyvTsv MyvTsv commented Oct 23, 2025

Changes description

When exporting a form, if a target is predefined with an actor of type “Specific Person,” the actor_value in the JSON is set to null.

This problem arises because the plugin attempts to retrieve the completename field for actors of type user or provider, even though this field does not exist in these cases.
The name of the user (or supplier) is actually stored in the name field.

Actor:
image

JSON before fix:
image

JSON after fix:
image

Checklist

Please check if your PR fulfills the following specifications:

  • Tests for the changes have been added
  • Docs have been added/updated

References

Closes !39806

@MyvTsv MyvTsv self-assigned this Oct 23, 2025
@MyvTsv MyvTsv requested review from Rom1-B, btry and stonebuzz October 23, 2025 12:23
@stonebuzz stonebuzz merged commit de5a5ea into pluginsGLPI:support/2.13.0 Oct 23, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants