Open Hailong-am opened 2 weeks ago
Describe the bug
When i add data source with version 3.0.0-snapshot, this data source will not available in data source selector as it does not satisfies the semver version check.
semver.satisfies('3.0.0-snapshot','>1.0.0'); # this will return false
https://github.com/opensearch-project/OpenSearch-Dashboards/blob/464ef56fcbee125ba0d9224b6234148035900dd9/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_data_source/components/header/header.tsx#L84-L92
To Reproduce Steps to reproduce the behavior:
*Expected behavior
3.0.0-snapshot should be treated as version 3.0.0
3.0.0-snapshot
OpenSearch Version Please list the version of OpenSearch being used.
Dashboards Version Please list the version of OpenSearch Dashboards being used.
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
@zhongnansu Wonder if this is an expected behavior?
@ZilongX Zilong might have better answer fort this.
Describe the bug
When i add data source with version 3.0.0-snapshot, this data source will not available in data source selector as it does not satisfies the semver version check.
https://github.com/opensearch-project/OpenSearch-Dashboards/blob/464ef56fcbee125ba0d9224b6234148035900dd9/src/plugins/index_pattern_management/public/components/create_index_pattern_wizard/components/step_data_source/components/header/header.tsx#L84-L92
To Reproduce Steps to reproduce the behavior:
*Expected behavior
3.0.0-snapshot
should be treated as version 3.0.0OpenSearch Version Please list the version of OpenSearch being used.
Dashboards Version Please list the version of OpenSearch Dashboards being used.
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.