# Embedding è ROTTO in 3.0.4 (stabile)

**URL:** <https://meta.discourse.org/t/embedding-is-broken-in-3-0-4-stable/268559>\
**Category:** Bug\
**Created:** [16 Giugno 2023, 12:34am UTC](https://meta.discourse.org/t/embedding-is-broken-in-3-0-4-stable/268559 "2023-06-16T00:34:48Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![fabsh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fabsh/32/311728_2.png) [@fabsh](https://meta.discourse.org/u/fabsh)\
**Post date:** [16 Giugno 2023, 7:52am UTC](https://meta.discourse.org/t/embedding-is-broken-in-3-0-4-stable/268559/6 "2023-06-16T07:52:29Z")

</div>

Va bene. Ripristinare il CSS non ha sortito alcun effetto. Era comunque una speranza remota.

Ora sono anche riuscito a confermare che l’incorporamento è rotto in generale. Anche la parte in inglese del blog ha smesso di funzionare. Le nuove pagine rimangono bloccate su “Caricamento discussione…”.

Ora sono abbastanza sicuro che questo si sia rotto quando il mio provider ha aggiornato il mio forum alla versione 3.0.4, ma non so da quale versione mi abbiano aggiornato. Quindi sospetto ancora questa patch in qualche modo:

> <https://github.com/discourse/discourse/commit/ccb345bd88024edf79fc91f90f02c5aac897a8d4>
>
> This commit implements many changes to topic and comments embedding. It
> depreca…tes the class\_name field from EmbeddableHost and suggests using
> the className parameter. discourse\_username parameter has been
> deprecated and it will fetch it from embedded site from the author or
> discourse-username meta.
> 
> See the updated code sample from Admin \> Customize \> Embedding page.
> 
> \* FEATURE: Add className parameter for Discourse embed
> 
> \* DEV: Hide class\_name from EmbeddableHost
> 
> \* DEV: Deprecate class\_name field of EmbeddableHost
> 
> \* FEATURE: Use either author or discourse-username meta tag
> 
> \* DEV: Deprecate discourse\_username parameter
> 
> \* DEV: Improve embed code sample

Penso che il fatto che il browser stia restituendo questi errori relativi al DOM non sia un caso:

 ![dom-error](https://global.discourse-cdn.com/meta/original/4X/d/4/f/d4fb83ef27b9611ab1729986ea543100adaa5c2a.png)

Disattivare la CSP nelle impostazioni di amministrazione non sembra risolvere il problema.

---

_[View the full topic](https://meta.discourse.org/t/embedding-is-broken-in-3-0-4-stable/268559)._
