Kibana version: master
Describe the bug: Importing a legacy json file exported from 6.8 sems to successfully import all objects, but an exception is thrown and the user sees a technical warning about not being able to clear the index pattern cache
Steps to reproduce:
- Go to management > saved objects
- Open import flyout
- Drop this file: https://gist.githubusercontent.com/flash1293/0ea158f94dd165647c560d1b90a5ed72/raw/e322a98549a4893589d36e1f42a431b66113a979/export.json
- Start import
- Error is shown:
this.patternCache.clear is not a function
Expected behavior:
Success message shown
Screenshots (if relevant):

Kibana version: master
Describe the bug: Importing a legacy json file exported from 6.8 sems to successfully import all objects, but an exception is thrown and the user sees a technical warning about not being able to clear the index pattern cache
Steps to reproduce:
this.patternCache.clear is not a functionExpected behavior:
Success message shown
Screenshots (if relevant):
