Skip to content

[bug] VPN templates conflict #973

Description

@nemesifier

Describe the bug
Assigning a variation of a OpenVPN client template while unassigning another one causes the resulting configuration to become bugged: the configuration variables of the certificates are not resolved.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Create a VPN-client template using OpenVPN
  2. Create another VPN-client template using the same server, but with slightly different configurations
  3. Assign the template created in step 1, save
  4. Now unassign the template created in step 1 while at the same time assign the template created in step 2, save

Expected behavior
The resulting configuration should work normally.

Screenshots

Image

System Informatioon:

  • OS: Debian bookworm/sid
  • Python Version: 3.10.12
  • Django Version: 4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions