This issue has been created
There are 2 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-c38ef300-2b24-437b-ae01-06509468c054 XWIKI-23459 Open

Upgrade to Cristal 0.20

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-2f1d10d1-1c3f-45dd-aaf1-3a26be134831 Marius Dumitru Florea created this issue on 14/Aug/25 17:55
 
Summary: Upgrade to Cristal 0.20
Issue Type: cid:jira-generated-image-avatar-c38ef300-2b24-437b-ae01-06509468c054 Task
Affects Versions: 17.6.0
Assignee: Unassigned
Components: Blocknote
Created: 14/Aug/25 17:55
Priority: cid:jira-generated-image-static-major-e17d97af-17ee-4b83-88f9-d3c1314bb0b9 Major
Reporter: Marius Dumitru Florea
Description:

See https://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/Cristal/0.20/ .

 
 

2 updates

 
cid:jira-generated-image-avatar-2f1d10d1-1c3f-45dd-aaf1-3a26be134831 Changes by Marius Dumitru Florea on 14/Aug/25 17:55
 
Fix Version: 17.7.0-rc-1
Assignee: Marius Dumitru Florea
 
 

1 comment

 
cid:jira-generated-image-avatar-2f1d10d1-1c3f-45dd-aaf1-3a26be134831 Marius Dumitru Florea on 14/Aug/25 17:59
 

Unfortunately I get this test failure:

[INFO] --- frontend:1.15.1:pnpm (pnpm-run-test) @ xwiki-platform-blocknote-webjar ---
[INFO] Running 'pnpm run test' in /home/marius/work/git/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/target/node
[INFO] 
[INFO] > xwiki-platform-blocknote@0.0.0 test /home/marius/work/git/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/target/node
[INFO] > vitest --run
[INFO] 
[INFO] 
[INFO]  RUN  v3.2.4 /home/marius/work/git/xwiki/xwiki-platform/xwiki-platform-core/xwiki-platform-blocknote/xwiki-platform-blocknote-webjar/target/node
[INFO] 
[INFO]  ✓ src/services/Factory.test.js (1 test) 2ms
[INFO] stdout | src/services/Logic.test.js > Logic > should create a BlockNote instance
[INFO] <Suspense> is an experimental feature and its API will likely change.
[INFO] 
[INFO] stderr | src/services/Logic.test.js > Logic > should create a BlockNote instance
[INFO] [Vue warn]: Unhandled error during execution of setup function 
[INFO]   at <CBlocknoteView ref="editor" editor-props= {
[INFO]   blockNoteOptions: { defaultStyles: false },
[INFO]   theme: 'light',
[INFO]   lang: 'en',
[INFO]   macros: [
[INFO]     {
[INFO]       name: 'XWikiMacroHtmlBlock',
[INFO]       description: '',
[INFO]       parameters: [Object],
[INFO]       hidden: false,
[INFO]       renderType: 'block',
[INFO]       blockNote: [Object]
[INFO]     },
[INFO]     {
[INFO]       name: 'XWikiMacroInlineHtml',
[INFO]       description: '',
[INFO]       parameters: [Object],
[INFO]       hidden: false,
[INFO]       renderType: 'inline',
[INFO]       blockNote: [Object]
[INFO]     }
[INFO]   ]
[INFO] } editor-content= { blocks: [] }  ... > 
[INFO]   at <XWikiBlockNote ref="editor" name=undefined initial-value=undefined  ... > 
[INFO]   at <XWikiBlockNoteWrapper initialValue=undefined >
[INFO] 
[INFO]  ✓ src/services/Logic.test.js (1 test) 18ms
[INFO] ⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯
[INFO] 
[INFO] Vitest caught 1 unhandled error during the test run.
[INFO] This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.
[INFO] 
[INFO] ⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯
[INFO] TypeError: Cannot define property blocknote-container, object is not extensible
[INFO]  ❯ $n node_modules/.pnpm/@xwiki+cristal-editors-blocknote-headless@0.20.0_@hocuspocus+provider@2.15.2_y-protocol_ea794a1a730d9d60dc0cd68e3a613009/node_modules/node_modules/.pnpm/@vue+runtime-core@3.5.17/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:1511:21
[INFO]  ❯ setup node_modules/.pnpm/@xwiki+cristal-editors-blocknote-headless@0.20.0_@hocuspocus+provider@2.15.2_y-protocol_ea794a1a730d9d60dc0cd68e3a613009/node_modules/@xwiki/cristal-editors-blocknote-headless/src/vue/c-blocknote-view.vue:156:17
[INFO]  ❯ processTicksAndRejections node:internal/process/task_queues:105:5
[INFO] 
[INFO] This error originated in "src/services/Logic.test.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
[INFO] ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
[INFO] 
[INFO] 
[INFO]  Test Files  2 passed (2)
[INFO]       Tests  2 passed (2)
[INFO]      Errors  1 error
[INFO]    Start at  18:57:43
[INFO]    Duration  1.94s (transform 317ms, setup 0ms, collect 1.39s, tests 20ms, environment 522ms, prepare 153ms)