[ 
https://issues.apache.org/jira/browse/ARTEMIS-5569?focusedWorklogId=976732&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-976732
 ]

ASF GitHub Bot logged work on ARTEMIS-5569:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 29/Jul/25 10:56
            Start Date: 29/Jul/25 10:56
    Worklog Time Spent: 10m 
      Work Description: ViliusS commented on PR #109:
URL: 
https://github.com/apache/activemq-artemis-console/pull/109#issuecomment-3131911470

   @grgrzybek thank you. Great to see it moving forward! Just make sure Monaco 
files are loaded locally instead of CDN. For some reason Monaco configuration 
from `@hawtio/react` is not pulled into Artemis console so we need to duplicate 
webpack configuration for this.
   
   Also, while looking at JS bundles I found that Monaco (and probably some 
other) JS code is still duplicated in other.js and hawtio.js in Artemis Console 
(search for string "https://cdn.";), but this code is never used. That's 
probably an issue for another day.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 976732)
    Time Spent: 2h 50m  (was: 2h 40m)

> Cannot send message through console
> -----------------------------------
>
>                 Key: ARTEMIS-5569
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5569
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: console-1.2.1
>            Reporter: Gašper Čefarin
>            Priority: Blocker
>              Labels: pull-request-available
>         Attachments: image-2025-07-08-14-06-50-767.png, 
> image-2025-07-08-14-08-49-445.png, image-2025-07-08-14-10-27-916.png
>
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>
> I don't know when the bug appeared, I think this functionality worked in 
> console 1.1.0.
> Currently, the frontend does not render properly and it's impossible to send 
> a message through console.
> !image-2025-07-08-14-08-49-445.png!
>  
> !image-2025-07-08-14-10-27-916.png!
> The problem is loading 
> “[https://cdn.jsdelivr.net/npm/[email protected]/min/vs/loader.js]” and 
> CSP policy.
>  
> !image-2025-07-08-14-06-50-767.png!
>  
> Commenting out this filter in /console.war/WEB-INF/web.xml works for me.
> {code:java}
> <!--
>   <filter>
>     <filter-name>ContentSecurityPolicyFilter</filter-name>
>     
> <filter-class>io.hawt.web.filters.ContentSecurityPolicyFilter</filter-class>
>   </filter>
>   <filter-mapping>
>     <filter-name>ContentSecurityPolicyFilter</filter-name>
>     <url-pattern>/*</url-pattern>
>   </filter-mapping>
> -->{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to