Expected Behavior
When searching a MongoDB-type lookup table data adapter's entries via the search input in the Configured keys and values section, hitting Enter after typing a query should not trigger a save of the data adapter's configuration.
Current Behavior
When searching a MongoDB-type lookup table data adapter's entries via the search input in the Configured keys and values section, hitting Enter after typing a query triggers a save of the data adapter's configuration.
Steps to Reproduce (for bugs)
- Have a MongoDB-type lookup table data adapter
- Navigate to the data adapter's edit page (
/system/lookuptables/data_adapter/$NAME/edit)
- Click in the
Configured keys and values section's Enter search query... input and hit Enter
- Note the data adapter config saves and you get redirected to the
Data Adapters for Lookup Tables (/system/lookuptables/data_adapters) page (with a Data Adapter updated successfully notification)
Context
Using the Enter key to submit a search is common-- so even though this particular section updates the results as the query is written, a user hitting Enter should be handled gracefully (i.e. not result in an unexpected data adapter config save).
Your Environment
- Graylog Version:
7.0.4
- Browser version: Firefox
149
Checklist
[] This issue fix need to be backported.
[] Does this issue have security implications?
Expected Behavior
When searching a MongoDB-type lookup table data adapter's entries via the search input in the
Configured keys and valuessection, hittingEnterafter typing a query should not trigger a save of the data adapter's configuration.Current Behavior
When searching a MongoDB-type lookup table data adapter's entries via the search input in the
Configured keys and valuessection, hittingEnterafter typing a query triggers a save of the data adapter's configuration.Steps to Reproduce (for bugs)
/system/lookuptables/data_adapter/$NAME/edit)Configured keys and valuessection'sEnter search query...input and hitEnterData Adapters for Lookup Tables(/system/lookuptables/data_adapters) page (with aData Adapter updated successfullynotification)Context
Using the
Enterkey to submit a search is common-- so even though this particular section updates the results as the query is written, a user hittingEntershould be handled gracefully (i.e. not result in an unexpected data adapter config save).Your Environment
7.0.4149Checklist
[] This issue fix need to be backported.
[] Does this issue have security implications?