Skip to content

When adding finding from a template, unable to add Systems/Endpoints #42

@freeandnull

Description

@freeandnull

I reproduced this on my local machine, and on "http://defectdojo.pythonanywhere.com". The issue is when adding a finding from a template, it is no longer possible add a "systems/endpoints".

It's clear the URL on the "+" button loses the engagement ID because BEFORE clicking "Add Finding from Template", the URL for the "+" button is "http://defectdojo.pythonanywhere.com/endpoints/1/add".

After adding a finding from a template, the URL for the "+" button change to: "http://defectdojo.pythonanywhere.com/endpoints//add".

Note the double "//" where the engagement ID should exist, but does not.

Steps to reproduce:

  1. Browse to an Engagement and add a finding to a test, like here: http://defectdojo.pythonanywhere.com/test/5/add_findings
  2. Click "Add Finding from Template"
  3. Select a template finding
  4. Now that new finding is populated with data from the template, scroll down to "Systems/Endpoints" and click the "+" icon to the right of the textbox.
  5. The popup shows the generic "add endpoint" page, and not the correct one which allows me to add the endpoint for this specific finding.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions