-
Notifications
You must be signed in to change notification settings - Fork 72
Closed
Labels
Description
Code of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues
GLPI Version
11.0.1
Plugin version
1.22.1
Bug description
When creating a new block in the Additional Fields plugin, custom assets created via Setup > Assets definitions are not listed as an option in the "Associated item type" dropdown.
Only the related dropdowns (like types and models) for the custom asset are shown, but not the custom asset itself, making it impossible to associate the block with it.
Page URL
plugins/fields/front/container.form.php
Steps to Reproduce
- Go to
Setup > Assets definitions - Create a new custom asset type (e.g., "MyDevices")
- Go to
Setup > Additional fields - Click the
+button to create a "New item - Block"
Expected Behavior
The "Associated item type" dropdown should list the newly created custom asset, for example:
Assets: MyDevices
Actual Behavior
The main asset type Assets: MyDevices is missing. The only available options related to the new asset are its associated dropdowns, such as:
Dropdowns: Types
MyDevices types
Dropdowns: Models
MyDevices models
michal1298