This issue has been created
There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-13761292-9baa-4f1f-b968-ad9c87e0b964 XWIKI-22547 Open

webSocketURL for realtime editor faulty on ShortURL installation

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-19bc9e9e-076e-4180-afb8-6888817bc08f Adrian Nöthlich created this issue on 05/Oct/24 20:34
 
Summary: webSocketURL for realtime editor faulty on ShortURL installation
Issue Type: cid:jira-generated-image-avatar-13761292-9baa-4f1f-b968-ad9c87e0b964 Bug
Affects Versions: 16.6.0, 16.7.0, 16.7.1, 16.8.0
Assignee: Unassigned
Components: Realtime
Created: 05/Oct/24 20:34
Environment: ShortURL installation
Priority: cid:jira-generated-image-static-minor-09762bf5-42fe-41a6-bdd7-fcfefbe607a4 Minor
Reporter: Adrian Nöthlich
Description:

Currently `xcontext.getWiki().getWebAppPath(xcontext)` gives a slash when configured empty in the xwiki.cfg which is needed for a short URL installation.

xwiki.webapppath=

For the websocket-url derivation in
xwiki-platform-core/xwiki-platform-websocket/src/main/java/org/xwiki/websocket/script/WebSocketScriptService.java this gives a path like `//websocket` resulting in a not working URL and websocket connection.

 
 

1 comment

 
cid:jira-generated-image-avatar-19bc9e9e-076e-4180-afb8-6888817bc08f Adrian Nöthlich on 05/Oct/24 20:35
 

https://github.com/xwiki/xwiki-platform/pull/3539