This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-1aa415d4-285c-4123-a024-8cf139ed4e8f XWIKI-22642 Open

Replace calls to MacroDescriptor#getDefaultCategory() in CKEditor.MacroServices

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-9c544e0d-1494-4440-8359-238b2ca44cd8 Vincent Massol created this issue on 07/Nov/24 16:28
 
Summary: Remove calls to MacroDescriptor#getDefaultCategory() in CKEditor.MacroServices
Issue Type: cid:jira-generated-image-avatar-1aa415d4-285c-4123-a024-8cf139ed4e8f Bug
Affects Versions: 16.9.0
Assignee: Unassigned
Components: CKEditor
Created: 07/Nov/24 16:28
Priority: cid:jira-generated-image-static-major-8cb6962a-0505-46ca-bbac-801a94a6b22b Major
Reporter: Vincent Massol
Description:
 
 

2 updates

 
cid:jira-generated-image-avatar-9c544e0d-1494-4440-8359-238b2ca44cd8 Changes by Vincent Massol on 07/Nov/24 16:29
 
Summary: Remove Replace calls to MacroDescriptor#getDefaultCategory() in CKEditor.MacroServices
Description: * {{ MacroDescriptor#getDefaultCategory() }} has been legacified (and thus removed from {{ MacroDescriptor.java }} )
* Thus we need to stop calling it from
{{ CKEditor.MacroServices }} : https://github.com/xwiki/xwiki-platform/blob/f76aee990bd1fa602380fa1571193fdeafe9ef16/xwiki-platform-core/xwiki-platform-ckeditor/xwiki-platform-ckeditor-ui/src/main/resources/CKEditor/MacroService.xml#L140 (and a few other places in that file)
* Instead we need to call {{MacroDescriptor#getDefaultCategories()}}