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

Agent table, error adding or deleting new fields #4562

Closed
yenienserrano opened this issue Sep 21, 2022 · 0 comments · Fixed by #5591
Closed

Agent table, error adding or deleting new fields #4562

yenienserrano opened this issue Sep 21, 2022 · 0 comments · Fixed by #5591
Assignees
Labels
level/task Task issue type/bug Bug issue

Comments

@yenienserrano
Copy link
Member

Description

When you add a new column to the agent table, to take that new column you have to delete from the localstorage the field columnsSelectedTableAgent so that when you load the table it creates it with the new values, and if you remove any column the table breaks because it does not find that value, to make it work you have to delete the same field from the localstorage and reload the table to create it again.

Preconditions
For the case of adding a field

  1. Have version 4.3.x and navigate to agents to create the columnsSelectedTableAgent field in localstorage

For the case of deleting a field

  1. Have development version 4.4 and navigate to the agents to create the field columnsSelectedTableAgent in localstorage

Steps to reproduce

For the case of adding a field

  1. Change the version to the development version of 4.4
  2. Navigate to 'Agents'
  3. See that the Synced column does not appear in the table
  4. Remove the columnsSelectedTableAgent field from localstorage and reload the page.
  5. See that the Synced column appear in the table

For the case of deleting a field

  1. Change the version to the version of 4.3.x
  2. Navigate to 'Agents'
  3. See the board break
  4. Remove the columnsSelectedTableAgent field from localstorage and reload the page.
  5. See that the table appears and the synced field is no longer there.

Expected Result
1.
For the case of adding a field
image

For the case of deleting a field
image

Actual Result
1.
For the case of adding a field
image

For the case of deleting a field
image

@yenienserrano yenienserrano added the type/bug Bug issue label Sep 21, 2022
@gdiazlo gdiazlo added the level/task Task issue label Apr 19, 2023
@yenienserrano yenienserrano self-assigned this Jun 21, 2023
@yenienserrano yenienserrano linked a pull request Jun 21, 2023 that will close this issue
6 tasks
@wazuhci wazuhci moved this to Pending review in Release 4.7.0 Jun 23, 2023
@wazuhci wazuhci moved this from Pending review to Pending final review in Release 4.7.0 Jul 4, 2023
@wazuhci wazuhci moved this from Pending final review to Done in Release 4.7.0 Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue type/bug Bug issue
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants