cloudstack-ui icon indicating copy to clipboard operation
cloudstack-ui copied to clipboard

There is no automatic synchronization between the log view page and user tags

Open rennervo opened this issue 7 years ago • 3 comments

Description

The problem affects the preservation of log display filters in user tags. When changing the filter value in one of the sources, the second source does not automatically update the values. Only after reloading the page or logout/login.

Steps to reproduce

Way 1:

  1. Go to the "Log View" section
  2. Set one or more filters
  3. Ensure that requests to change the value of the user tags were successfully sent
  4. Go to the "Settings" section on the "User tags" tab

Way 2:

  1. Go to the "Settings" section on the "User tags" tab
  2. Make sure that there are filter tags for the "log view", otherwise create
  3. Change the value of one or more filters "log view"
  4. Make sure that requests to change the value of user tags were successfully sent
  5. Go to the "Log View" section

Actual result

Values ​​for log view filters have not changed to new ones

Expected result

Values ​​for log view filters updated

Environment


Browser:
- [ ] Chrome version XX
- [ ] Firefox version XX
- [ ] Safari version XX
- [ ] Opera version XX
- [ ] IE version XX
- [ ] Edge version XX

Others:

Connected requirement IDs

REQ_LOGS_019

rennervo avatar Feb 14 '19 08:02 rennervo

TO TEST: REQ_LOGS_019

dron8552 avatar Feb 27 '19 11:02 dron8552

Lack 1:

No automatic synchronization between user tags and filters in Log view page

Description: The values in filters are updated only after changing the corresponding user tags and refreshing the page Steps:

  1. Go to the "Settings" section on the "User tags" tab
  2. Make sure that there are filter tags for the "log view", otherwise create
  3. Change the value of one or more filters "log view"
  4. Make sure that requests to change the value of user tags were successfully sent
  5. Go to the "Log View" section

Actual result: Values in log view filters haven't changed automatically after when user tags are changed Expected result: Values ​in log view filters change automatically after when user tags are changed

evgeniiamokhova avatar Mar 01 '19 03:03 evgeniiamokhova

@bwsw @ershovaelena The problem: we store the VM-logs filters in multiple places: user-tags, session storage, and VM-logs state in ngrx-store. But is it necessary to save VM-logs filters in user-tags? If true - should we update tags when VM-logs filters were changed and update filters when user-tags were changed?

dron8552 avatar Mar 04 '19 07:03 dron8552