Visualization issue in Kibana dashboard after upgrade to v8.17.1

Hello,

I have an issue with some visualization objects after we upgraded Kibana to v8.17.1.

I created a dashboard when Kibana was v8.15.3.

The dashboard contained multiple objects such as TSVB (markdown), Vega, lens (metric, line and gauge).

After we upgraded to v8.17.1, the TSVB (markdown) and Vega
started to show the following message while editing the dashboard:

I thought first because the markdown was already created before the upgrade, it got affected. But, I tried to create a new TSVB (markdown) object, and it showed the same error while editing the dashboard.

This error appears also when I create a duplicate of the TSVB (markdown) object. After I created a duplicate, I edited/updated the text, saved it and went back to the dashboard. Instead of seeing the new text, I see the error.

The same happened with Vega. Suddenly, it disappears and shows this message.

I had to remove these objects whenever they show this message and import them again multiple times from the library which is not convenient.

This happens randomly whenever I edit the dashboard (not everytime). Eventually I was able to update my dashboard but after multiple times of removing these objects and importing them again. Maybe there is an issue with the "Edit" functionality of the dashboard? Is this a bug in the new release?

Thank you.

Sorry for the inconvenience.

It seems you are hitting this issue, I'll put a comment there referencing to this post, in case there are details you shared useful to the engineers.

Thank you for your reply.

I understand that there is no solution for this issue yet?

Regards,

There's an open Pull Request to fix this issue, you can check on the labels the expected versions will get it