This issue has been created
 
 
XWiki Rendering / cid:jira-generated-image-avatar-c69c7a89-7e64-4c67-8940-a23968eeb0fc XRENDERING-749 Open

Deprecated MacroDescriptor's getDefaultCategory() is ignored

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-a18a2d63-2d2f-4a80-8701-e995be751b3a Raphaël Jakse created this issue on 14/Jun/24 11:44
 
Summary: Deprecated MacroDescriptor's getDefaultCategory() is ignored
Issue Type: cid:jira-generated-image-avatar-c69c7a89-7e64-4c67-8940-a23968eeb0fc Bug
Affects Versions: 14.10.21, 15.10.10, 16.4.0
Assignee: Unassigned
Components: Transformation
Created: 14/Jun/24 11:44
Priority: cid:jira-generated-image-static-major-aa0a9152-9ba5-4bb0-9aa4-6cbe025a3cb2 Major
Reporter: Raphaël Jakse
Description:

getDefaultCategories() has replaced getDefaultCategory(), but getDefaultCategory() is now ignored, which breaks compatibility with old code defined using the old interface.

 

Relevant commit: https://github.com/xwiki/xwiki-rendering/commit/40e5d9534e9c5af62ef27f7d2bc8ca9ca3539e8f#diff-5cd2dac768c3cedc5427daa48c5af68488aeb5d81e2a2ecadb849197010fd4ce