Kibana version: master
Describe the bug: If a date histogram aggregation is configured in the vis based on an index pattern without a time filter, errors are logged into the console and the page is empty.
Steps to reproduce:
- Create an index pattern without a time filter
- Create new visualization
- Select date_histogram aggregation as X-Axis buckets
- Errors get logged:
errors.ts:20 Uncaught Error: Could not locate that index-pattern-field
at FieldParamType._this.deserialize (field.ts:121)
at agg_config.ts:209
at Array.forEach (<anonymous>)
at AggConfig.setParams (agg_config.ts:185)
at AggConfig.set (agg_config.ts:486)
at reducers.ts:62
at Array.map (<anonymous>)
at editorStateReducer (reducers.ts:60)
at updateReducer (react-dom.development.js:16591)
at Object.useReducer (react-dom.development.js:17346)
Expected behavior: there shouldn't be possible to select date histogram
Screenshots (if relevant):

Kibana version: master
Describe the bug: If a date histogram aggregation is configured in the vis based on an index pattern without a time filter, errors are logged into the console and the page is empty.
Steps to reproduce:
Expected behavior: there shouldn't be possible to select date histogram
Screenshots (if relevant):
