Track changes : accept / refuse a modification / deletion

Created on 11 March 2025, about 1 month ago

Problem/Motivation

We have a bug that shows up in the editor (Oops...
It seems that the editor encountered an error. Save your content and refresh the page. If the error persists, contact your site administrator.)

It occurs when we accept or refuse a modification (add or deletion) on the comment.

Here is what we get on the console log :

ckeditor5-dll.js?v=44.0.0:5 Uncaught CKEditorError: a[r(...)](...) is not a function
Read more: https://ckeditor.com/docs/ckeditor5/latest/support/error-codes.html#erro...(...)](...) is not a function
at d (track-changes.js:5:240894)
at h (track-changes.js:5:240721)
at vc._refreshSuggestionsChain (track-changes.js:5:240362)
at Wr._onAttributesChange (track-changes.js:5:236214)
at Wr.setAttribute (track-changes.js:5:32511)
at Wr.s (js_gRYYJysKquOIQ-sb1PpK2CMUT3Ok7wVToAGWLK-Z9ZQ.js?scope=footer&delta=20&language=fr&theme=rapportcongres&include=eJydVMtu4zAM_CErOvUDFovm2L3sXaBt2mEjSwJF5_H3pZxXnbpG0YNhajgckSKlmnqXKKGtr0ZVxyhZGNKLfZjmPRsPglmqpg2u2WNLEtm-nlLMEOQ_Q8hd5AGEYvjTQhLkOXWrYm9RcNEJLNR4fBuHGplCf_HGIEz1WCSdZpEii0tHsCXoCatuUi-WgsoH8JuWx6S_u2eDQ9pBpvwj8k4G_xp6Cvgj-qDGpyxc8qPGugTN3l7ILsUjMrauPi_zXEehdaAfY_LQoC2AUcBcgW_iRAubumNv1rfEkziZ9couYA5uPVpUOUZutTljEFtMM5lmIYZxoHFwHYKMrNkhc2QTolBHzbRTXqWfSndNOfOeJ_oKWxPyHup4IdrZ6rcSw4BB1lJ8imA8UC777Sgr__y7fbUXzd40Owg9rm7ejd7nhhE11zvrAa6FlsLK8durMc80Mj4UNwmy4Jbj8K_TtuGzW6XjAbfT7Dz7csKGwP_dgdakw5G_EOTsvygK1Dfwes00mA5oPIX9DJ8OLuU5We-hj_0G3uE0w0ulcjZlymd4lnJ1ZtABy3sE3mgquerIa-4332VVdfqc6STrmN4tcy-hKo-Hq0fyrQZ-XnwAWywj7g:82:3510)
at Wr.fire (ckeditor5-dll.js?v=44.0.0:5:725118)
at [as accept] (ckeditor5-dll.js?v=44.0.0:5:728799)
at Object.callback (track-changes.js:5:223758)
at ji._runPendingChanges (ckeditor5-dll.js?v=44.0.0:5:473839)

Steps to reproduce

Use the functionnality track changes, add or delete something and then try to accept it (after saving it one time).

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.4

Component

Plugin: Collaboration

Created by

🇫🇷France eme

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @eme
  • 🇵🇱Poland salmonek

    Hi @eme I'm not sure if I understood reproduction steps correctly. What I did was:

    1. Create a node
    2. Add some text without track changes
    3. Commented something
    4. Added suggestion in the comment scope
    5. Saved node
    6. Accept/refuse suggestion

    Screen:

    In that scenario both approve and reject worked ok.

    Additionally could you please share a console log errow with JS aggregation disabled? This would help to identify one of files in trace.
    Also is that happening in Realtime collaboration or Non-realtime mode?

Production build 0.71.5 2024