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

Cloning a model blanks fieldset of new model #12548

Closed
2 tasks done
sjwk opened this issue Feb 22, 2023 · 1 comment
Closed
2 tasks done

Cloning a model blanks fieldset of new model #12548

sjwk opened this issue Feb 22, 2023 · 1 comment
Assignees

Comments

@sjwk
Copy link

sjwk commented Feb 22, 2023

Debug mode

Describe the bug

When cloning a model that has a fieldset attached, the new model has 'No custom fields' as fieldset.

Reproduction steps

  1. Create model with fieldset
  2. Clone model to new model

Expected behavior

A cloned model type to have the same fieldset as the model it was cloned from

Screenshots

No response

Snipe-IT Version

6.0.14 (latest tag on docker hub)

Operating System

Docker on Ubuntu 22.04

Web Server

from docker container

PHP Version

from docker container

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

Installed from docker container.
Pretty vanilla so far, just setting up custom fields and models before populating with any data.

@inietov
Copy link
Collaborator

inietov commented Feb 22, 2023

@sjwk Hello there! The fieldset does not get assigned automatically but user can select one from the Fieldset select list. I can see how one could expect that the field got filled automatically. Just FYI as a workaround.

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

No branches or pull requests

2 participants