openwisp / openwisp/openwisp-controller

[bug] Defining OpenVPN Server in a template complains about validation and does not allow saving

Open
#744 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
773
Forks
315
Avg merge
2d 16h
Merged PRs (30d)
14

Description

Steps:

  • create a new template
  • add openvpn conf
  • select server routed
  • prepare a sample config
  • try saving

Expected result: can save.

Actual result: validation error doesn't allow saving.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the listed workflow by creating a template, adding an OpenVPN configuration, selecting server routed, preparing a sample config, and saving it. Trace the validation path for this configuration to identify why saving is rejected. Done means a valid server-routed template saves successfully and the regression is covered by an appropriate test.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.