csm-aut / csm

This repository contains Cisco Software Manager (CSM Server) source code
Apache License 2.0
11 stars 7 forks source link

'*' char in Filter makes package unselectable #61

Open venkateswarannagarajan opened 7 years ago

venkateswarannagarajan commented 7 years ago

During upgrade/downgrade while selecting Available packages if '*' symbols present, then the package becomes unelectable and right arrow gets disabled. This is observed in xc with the latest code.

joydai commented 7 years ago

Entering '*' without any prefix for filtering will yield no result because it doesn't conform to javascript regular expression syntax. Current behavior after the fix is that when incorrect regex is entered in the filter box, nothing will appear because every item is filtered out, in which case, the buttons for moving items from the unselected listbox to the selected listbox are automatically disabled.