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

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

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

   @grgrzybek make sure you nuke node_modules before testing final solution. I 
had the same issue that JS chunks were incorrectly generated because 
node_modules where populated with dependencies from previous runs. After I did 
dependency refactoring, deleted node_modules and restested it then was 
generated correctly.
   
   Also, not sure how webpack-dev environment is loaded, but even on production 
bundle I still saw some references to CDN in the code. They were just never 
triggered. Before my changes there were 4-5 places mentioned in the various JS 
chunks regarding CDN. After changes it went down to 2 (which never triggers).




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

    Worklog Id:     (was: 976908)
    Time Spent: 4h  (was: 3h 50m)

> 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: 4h
>  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