This issue has been created
There are 2 updates.
 
 
Cristal / cid:jira-generated-image-avatar-ea043242-c47d-4521-9687-1f15e67896a0 CRISTAL-874 Open

Adapt to the removal of the macros AST and to the new attachment upload API of XWiki 18.10

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-b259ba6a-45f8-421b-9814-89ce5f0af22c Manuel Leduc created this issue on 03/Nov/26 16:25
 
Summary: Adapt to the removal of the macros AST and to the new attachment upload API of XWiki 18.10
Issue Type: cid:jira-generated-image-avatar-ea043242-c47d-4521-9687-1f15e67896a0 Task
Affects Versions: 1.9.0
Assignee: Unassigned
Components: Attachments, Macro
Created: 03/Nov/26 16:25
Priority: cid:jira-generated-image-static-major-cf4133c0-bb8e-4def-829b-2dd8abaf11b6 Major
Reporter: Manuel Leduc
Description:

The XWiki 18.10 snapshots of the @xwiki/platform-* packages changed two APIs that Cristal relies on, and Cristal no longer builds against them:

  • XWIKI-24402 removed the macros AST (MacroBlock, MacroInlineContent, ...) from @xwiki/platform-macros-api. Macros now render to the Block and InlineContent types of @xwiki/platform-uniast-api, which also gained rawHtml and macro editable-area nodes.
  • XWIKI-24241 changed Storage.saveAttachments to return the uploaded attachments (PageAttachment) rather than their URLs.

Cristal's macro HTML rendering, the XWiki macros, the uniast HTML and BlockNote converters, and all the storages need to be adapted to these APIs.

 
 

2 updates

 
cid:jira-generated-image-avatar-b259ba6a-45f8-421b-9814-89ce5f0af22c Changes by Manuel Leduc on 03/Nov/26 16:25
 
Fix Version: 1.10.0
Assignee: Manuel Leduc