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

Issue on context menu and object refresh upon saving #336

Open
euniceremoquillo opened this issue Mar 22, 2023 · 1 comment
Open

Issue on context menu and object refresh upon saving #336

euniceremoquillo opened this issue Mar 22, 2023 · 1 comment

Comments

@euniceremoquillo
Copy link
Contributor

Context menu does not close after editing a host/service. This occurs regardless of whether the user apply changes or not in a host or service in nagvis as long as the user saves the changes during modify object.
After modifying the object, when the refresh status option is executed twice a javascript error will popup.
"Javascript error occured: Uncaught TypeError: Cannot read properties of null (reading 'obj') [server]/nagvis/frontend/nagvis-js/js/ElementContext.js?v=1.9.34(49)"

Steps to replicate:

  1. Create a Regular Map or Edit an existing regular map.
  2. Create a host/service.
  3. Unlock the created host/service.
  4. Right click on it and select Modify Object.
  5. Click on save.
  6. Right click on the host/service which was selected for Modify object (The context menu does not close upon this right click) and select "Refresh status".
  7. After 1 attempt of "Refresh status" (Object does not refresh and the context menu is still displayed), then select it for the 2nd time (Javascript error pops up).

nagvis context issue

@euniceremoquillo
Copy link
Contributor Author

We have suggested fixes on pull request #333

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

No branches or pull requests

1 participant