Regression in “Bulk extension management”: extension selection counter becomes negative and group filter does not restrict the list
Description
In NethVoice NS8, in the Applications → Bulk extension management page, there are two issues affecting extension selection.
The issue was reported as appearing since version 1.6.11 and has also been reproduced on 1.7.0.
When manually selecting an extension, the selection flag is not displayed correctly and the selected extensions counter in the top-right corner can become negative.
Additionally, when using the group filter, the extensions belonging to the selected group appear to be selected, but the list is not filtered: extensions that do not belong to the selected group are still displayed. The applied group filter is also not shown in the dropdown menu.
From the attached video, the following behavior can be observed:
- The page initially shows
0 of 253 selected.
- When clicking extension checkboxes, the checkboxes do not visually appear as selected.
- The counter changes to negative values, for example
-5 of 253 selected and -8 of 253 selected.
- When selecting a group from the Select dropdown, the counter changes, for example to
12 of 253 selected, but the table still shows all extensions.
- After selecting the group, the dropdown still shows
-, so the selected group is not displayed.
Steps to reproduce
- Log in to NethVoice NS8.
- Go to Applications → Bulk extension management.
- Manually select one or more extensions using the checkboxes.
- Check the selected extensions counter in the top-right corner and the visual state of the checkboxes.
- Use the Select dropdown to select an extension group.
- Check the displayed extension list and the value shown in the dropdown.
Expected behavior
When an extension is selected, its checkbox should visually appear as selected and the counter should increase correctly.
The counter should never become negative.
When a group is selected, the page should either display only the extensions belonging to that group, or at least keep a consistent state between the selected group, the selected extensions, and the counter.
The dropdown should show the currently selected group.
Actual behavior
Manual extension selection is not represented correctly in the UI: the checkboxes do not show the selected state and the counter can become negative.
Group selection appears to select some extensions, because the counter changes, but it does not filter the list: all extensions remain visible.
The dropdown also does not show the selected group and remains set to -.
Affected versions
- NethVoice NS8
- Reported as present since 1.6.11
- Reproduced also on 1.7.0
Notes
This looks like a regression in the frontend state handling of bulk selection.
The internal selection state, the counter, the checkboxes, and the group filter do not appear to be synchronized.
It should be verified whether the issue is only UI-related or whether the Edit action actually receives an incorrect list of selected extensions.
Regression in “Bulk extension management”: extension selection counter becomes negative and group filter does not restrict the list
Description
In NethVoice NS8, in the Applications → Bulk extension management page, there are two issues affecting extension selection.
The issue was reported as appearing since version 1.6.11 and has also been reproduced on 1.7.0.
When manually selecting an extension, the selection flag is not displayed correctly and the selected extensions counter in the top-right corner can become negative.
Additionally, when using the group filter, the extensions belonging to the selected group appear to be selected, but the list is not filtered: extensions that do not belong to the selected group are still displayed. The applied group filter is also not shown in the dropdown menu.
From the attached video, the following behavior can be observed:
0 of 253 selected.-5 of 253 selectedand-8 of 253 selected.12 of 253 selected, but the table still shows all extensions.-, so the selected group is not displayed.Steps to reproduce
Expected behavior
When an extension is selected, its checkbox should visually appear as selected and the counter should increase correctly.
The counter should never become negative.
When a group is selected, the page should either display only the extensions belonging to that group, or at least keep a consistent state between the selected group, the selected extensions, and the counter.
The dropdown should show the currently selected group.
Actual behavior
Manual extension selection is not represented correctly in the UI: the checkboxes do not show the selected state and the counter can become negative.
Group selection appears to select some extensions, because the counter changes, but it does not filter the list: all extensions remain visible.
The dropdown also does not show the selected group and remains set to
-.Affected versions
Notes
This looks like a regression in the frontend state handling of bulk selection.
The internal selection state, the counter, the checkboxes, and the group filter do not appear to be synchronized.
It should be verified whether the issue is only UI-related or whether the Edit action actually receives an incorrect list of selected extensions.