Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined (reading 'get_nvts_response') at policies.js:111:43 #4020

Open
roman-doubrava opened this issue May 6, 2024 · 3 comments
Labels

Comments

@roman-doubrava
Copy link

Expected behavior

When creating or editing existing compliance policies Actions, we should get a window with the defined actions.

Actual behavior

We get an empty window and javascript errors:
policies.js:111 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'get_nvts_response') at policies.js:111:43
image
image

Steps to reproduce

  1. Install Version 22.9.1
  2. Navigate to Resilience -> Compliance policies -> Edit Policy on any policy
  3. Try to edit any action
    image

GVM versions

gsa: (gsad --version): 22.9.1~git
gvm: (gvmd --version): 23.3.0
openvas-scanner: (openvassd --version): 22.7.9
gvm-libs:: 22.8.0

Environment

Operating system:
Kali GNU/Linux 2024.1
VERSION_CODENAME=kali-rolling

Installation method / source:: gv-setup

Logfiles

gsad.log

@cfi-gb
Copy link
Member

cfi-gb commented May 7, 2024

Probably already fixed in / via #3931 but Kali is one release behind (22.9.1) and seems to not include this yet.

AFAICT an update from the Kali package team could be requested via: https://bugs.kali.org

@iriartmaxim
Copy link

iriartmaxim commented Jun 6, 2024

Hi,
It's happen to me too

image

@cfi-gb
Copy link
Member

cfi-gb commented Jun 7, 2024

@iriartmaxim Please see the previous comment, you need at least GSA version 23.0.0. e.g. on Kali still the outdated 22.9.1 is shipped:

https://pkg.kali.org/pkg/greenbone-security-assistant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants