gns3-web-ui icon indicating copy to clipboard operation
gns3-web-ui copied to clipboard

usage setting in template does not show in project

Open JohnHay opened this issue 3 years ago • 1 comments

If usage is configured in a template through the web ui and a node of that type is then inserted in a project, usage inside "Show node information" says "No usage information has been provided for this node.". Looking in the project .gns3 file, the usage is there.

This is on version 2.2.34, although the web ui says v2.2.33.

John

JohnHay avatar Sep 11 '22 16:09 JohnHay

I confirm the bug. Here is how to reproduce:

Edit a template and change the usage info:

Screenshot from 2022-11-03 00-38-29

Drag and drop the template on the canvas to create node, then right click to show the node information

Screenshot from 2022-11-03 00-42-05

I can also confirm that the server sends the correct text in the usage field using the API endpoint /v3/templates

{
    "template_id": "573a94e0-7f64-46b6-b148-940177440721",
    "name": "OpenBSD",
    "version": "5.8",
    "category": "guest",
    "default_name_format": "{name}-{0}",
    "symbol": ":/symbols/classic/qemu_guest.svg",
    "builtin": false,
    "template_type": "qemu",
    "compute_id": "local",
    "usage": "User root, password gns3 (TEST!)",
    "created_at": "2022-06-20T05:36:11",
    "updated_at": "2022-11-02T16:38:22",
    "kernel_image": "",
    <...>
}

grossmj avatar Nov 02 '22 16:11 grossmj

This seems to work in v2.2.37. We must have fixed it somehow...

grossmj avatar Feb 06 '23 01:02 grossmj