You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I create a custom template for a phone model and assign it to all phones of that model, the original base model— from which the custom template was created—disappears from the list of available models.
Steps to Reproduce:
Add a phone using its MAC address.
Assign the phone to a user.
Create a custom template for the phone model.
Change the phone’s model.
The original base model no longer appears in the list on the model page.
The text was updated successfully, but these errors were encountered:
The problem is that when the original model scope is modified isn't shown as a scope to copy from for creating a derived one.
This is because the API used to populate the list is tancredi/models?filter[used], that show only scope used by a device. Without filter, all available scopes would be shown.
Consequence is that we can't show a model if it doesn't have a phone associated with it.
But it's ok, because it makes no sense to modify a scope that isn't used by any phone.
To have the original scope in that list, you can just add a phone, assign the parent scope model to it then you can modify it.
If I create a custom template for a phone model and assign it to all phones of that model, the original base model— from which the custom template was created—disappears from the list of available models.
Steps to Reproduce:
The text was updated successfully, but these errors were encountered: