# In Kibana 7.8.0, my legacy plugin isn't working on Canvas page

**URL:** <https://discuss.elastic.co/t/in-kibana-7-8-0-my-legacy-plugin-isnt-working-on-canvas-page/250384>\
**Category:** Kibana\
**Created:** [September 29, 2020, 3:03pm UTC](https://discuss.elastic.co/t/in-kibana-7-8-0-my-legacy-plugin-isnt-working-on-canvas-page/250384 "2020-09-29T15:03:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rhonda\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rhonda_gregory/32/50687_2.png) [@Rhonda\_Gregory](https://discuss.elastic.co/u/Rhonda_Gregory)\
**Post date:** [September 29, 2020, 3:03pm UTC](https://discuss.elastic.co/t/in-kibana-7-8-0-my-legacy-plugin-isnt-working-on-canvas-page/250384/1 "2020-09-29T15:03:33Z")

</div>

I realize the legacy plugins are being deprecated and I should move to the new framework but due to time constraints I want to hold off on refactoring my plugins until I move beyond 7.8.0

I'm having one issue with my plugins. The commons.bundle.js isn't loaded into the browser when I navigate to Canvas page.

Is there a hack I can use to get me through this upgrade?

UPDATE: I found that ui\_render\_mixin.js did not include commons.bundle.js in the const jsDependencyPath because it came after isCore. However, the const styleSheetPaths did include commons.style.css because it occurs before the isCore check. So my hack is to change your code. I know not ideal because upgrades are painful but we have a delivery in 3 weeks.

UPDATE2: When trying to inspect commons.bundle.js thru FF debugger tab, it causes browser to hang trying to render. ☹

Thanks!

---

<div class="post-metadata">

**Author:** ![Rhonda\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rhonda_gregory/32/50687_2.png) [@Rhonda\_Gregory](https://discuss.elastic.co/u/Rhonda_Gregory)\
**Post date:** [September 30, 2020, 6:38pm UTC](https://discuss.elastic.co/t/in-kibana-7-8-0-my-legacy-plugin-isnt-working-on-canvas-page/250384/2 "2020-09-30T18:38:48Z")

</div>

UPDATE3:  
So the commons.bundle.js now loads on the canvas but my javascript hack is not running. I have it wrapped in $(document).ready( function()) which works on other pages.

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [September 30, 2020, 10:33pm UTC](https://discuss.elastic.co/t/in-kibana-7-8-0-my-legacy-plugin-isnt-working-on-canvas-page/250384/3 "2020-09-30T22:33:50Z")

</div>

@tims can you please shed some light here? or cc @Catherine_Liu

Thanks

---

<div class="post-metadata">

**Author:** ![Rhonda\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rhonda_gregory/32/50687_2.png) [@Rhonda\_Gregory](https://discuss.elastic.co/u/Rhonda_Gregory)\
**Post date:** [October 8, 2020, 3:49pm UTC](https://discuss.elastic.co/t/in-kibana-7-8-0-my-legacy-plugin-isnt-working-on-canvas-page/250384/4 "2020-10-08T15:49:28Z")

</div>

any chance I can get some feedback on this. We'd like our security banners to show on Canvas page for our next delivery.  
Thanks!

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [October 9, 2020, 8:01pm UTC](https://discuss.elastic.co/t/in-kibana-7-8-0-my-legacy-plugin-isnt-working-on-canvas-page/250384/5 "2020-10-09T20:01:34Z")

</div>

@poff - any inputs here?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 6, 2020, 8:02pm UTC](https://discuss.elastic.co/t/in-kibana-7-8-0-my-legacy-plugin-isnt-working-on-canvas-page/250384/6 "2020-11-06T20:02:02Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
