Skip to content

Text is doubled after opening a page in collectives #1270

Closed
nextcloud/text
#5887

Description

Describe the bug
When we us collectives (team with mac, win, linux and different browsers or MD editors), we can find the text doubled! If I wrote 2 paragraphs the previous time, I see four.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Collectives
  2. Click on a page and 'edit'
  3. When edit is clicked, the text is doubled

Expected behavior
no changes made to the document

Screenshots

collectives-doubled

Server details:

  • Collectives app version: latest
  • Nextcloud version: 28.1 AiO 8

Browser log

attachments:1 
        
        
       Failed to load resource: the server responded with a status of 403 ()
attachments:1 
        
        
       Failed to load resource: the server responded with a status of 403 ()
/apps/text/session/71710/sync:1 
        
        
       Failed to load resource: the server responded with a status of 403 ()
sync:1 
        
        
       Failed to load resource: the server responded with a status of 403 ()
attachments:1 
        
        
       Failed to load resource: the server responded with a status of 403 ()
/apps/text/session/4350/push:1 
        
        
       Failed to load resource: the server responded with a status of 412 ()
attachments:1 
        
        
       Failed to load resource: the server responded with a status of 403 ()
14vue.runtime.esm.js:3065 Error: Debounced method called with different contexts.
    at o.c (index.js:39:10)
    at onUpdate (editorMixin.js:123:12)
    at li.<anonymous> (editor.js:64:4)
    at xn (vue.runtime.esm.js:3033:30)
    at t.$emit (vue.runtime.esm.js:3732:17)
    at s.emit (Editor.vue:699:1)
    at at.onUpdate (Editor.vue:518:1)
    at index.js:155:52
    at Array.forEach (<anonymous>)
    at at.emit (index.js:155:23)
An @ vue.runtime.esm.js:3065
Show 1 more frame
Show less
ConsoleLogger.js:74 [ERROR] text: Unexpected Error "Failed to apply steps. Retry!" Object
value @ ConsoleLogger.js:74
Show 1 more frame
Show less
38vue.runtime.esm.js:3065 Error: Debounced method called with different contexts.
    at o.c (index.js:39:10)
    at onUpdate (editorMixin.js:123:12)
    at li.<anonymous> (editor.js:64:4)
    at xn (vue.runtime.esm.js:3033:30)
    at t.$emit (vue.runtime.esm.js:3732:17)
    at s.emit (Editor.vue:699:1)
    at at.onUpdate (Editor.vue:518:1)
    at index.js:155:52
    at Array.forEach (<anonymous>)
    at at.emit (index.js:155:23)
An @ vue.runtime.esm.js:3065
Show 1 more frame
Show less
ConsoleLogger.js:74 [ERROR] text: Unexpected Error "Failed to apply steps. Retry!" Object
value @ ConsoleLogger.js:74
Show 1 more frame
Show less
17vue.runtime.esm.js:3065 Error: Debounced method called with different contexts.
    at o.c (index.js:39:10)
    at onUpdate (editorMixin.js:123:12)
    at li.<anonymous> (editor.js:64:4)
    at xn (vue.runtime.esm.js:3033:30)
    at t.$emit (vue.runtime.esm.js:3732:17)
    at s.emit (Editor.vue:699:1)
    at at.onUpdate (Editor.vue:518:1)
    at index.js:155:52
    at Array.forEach (<anonymous>)
    at at.emit (index.js:155:23)
An @ vue.runtime.esm.js:3065
Show 1 more frame
Show less
ConsoleLogger.js:74 [ERROR] text: Unexpected Error "Failed to apply steps. Retry!" Object
value @ ConsoleLogger.js:74
Show 1 more frame
Show less
20vue.runtime.esm.js:3065 Error: Debounced method called with different contexts.
    at o.c (index.js:39:10)
    at onUpdate (editorMixin.js:123:12)
    at li.<anonymous> (editor.js:64:4)
    at xn (vue.runtime.esm.js:3033:30)
    at t.$emit (vue.runtime.esm.js:3732:17)
    at s.emit (Editor.vue:699:1)
    at at.onUpdate (Editor.vue:518:1)
    at index.js:155:52
    at Array.forEach (<anonymous>)
    at at.emit (index.js:155:23)
An @ vue.runtime.esm.js:3065
Show 1 more frame
Show less
ConsoleLogger.js:74 [ERROR] text: Unexpected Error "Failed to apply steps. Retry!" Object
value @ ConsoleLogger.js:74
Show 1 more frame
Show less
16vue.runtime.esm.js:3065 Error: Debounced method called with different contexts.
    at o.c (index.js:39:10)
    at onUpdate (editorMixin.js:123:12)
    at li.<anonymous> (editor.js:64:4)
    at xn (vue.runtime.esm.js:3033:30)
    at t.$emit (vue.runtime.esm.js:3732:17)
    at s.emit (Editor.vue:699:1)
    at at.onUpdate (Editor.vue:518:1)
    at index.js:155:52
    at Array.forEach (<anonymous>)
    at at.emit (index.js:155:23)
An @ vue.runtime.esm.js:3065
Show 1 more frame
Show less
ConsoleLogger.js:74 [ERROR] text: Unexpected Error "Failed to apply steps. Retry!" Object
value @ ConsoleLogger.js:74
Show 1 more frame
Show less
65vue.runtime.esm.js:3065 Error: Debounced method called with different contexts.
    at o.c (index.js:39:10)
    at onUpdate (editorMixin.js:123:12)
    at li.<anonymous> (editor.js:64:4)
    at xn (vue.runtime.esm.js:3033:30)
    at t.$emit (vue.runtime.esm.js:3732:17)
    at s.emit (Editor.vue:699:1)
    at at.onUpdate (Editor.vue:518:1)
    at index.js:155:52
    at Array.forEach (<anonymous>)
    at at.emit (index.js:155:23)
An @ vue.runtime.esm.js:3065
Show 1 more frame
Show less
ConsoleLogger.js:74 [ERROR] text: Unexpected Error "Failed to apply steps. Retry!" Object
value @ ConsoleLogger.js:74
Show 1 more frame
Show less
17vue.runtime.esm.js:3065 Error: Debounced method called with different contexts.
    at o.c (index.js:39:10)
    at onUpdate (editorMixin.js:123:12)
    at li.<anonymous> (editor.js:64:4)
    at xn (vue.runtime.esm.js:3033:30)
    at t.$emit (vue.runtime.esm.js:3732:17)
    at s.emit (Editor.vue:699:1)
    at at.onUpdate (Editor.vue:518:1)
    at index.js:155:52
    at Array.forEach (<anonymous>)
    at at.emit (index.js:155:23)
An @ vue.runtime.esm.js:3065
Show 1 more frame
Show less
index.js:314 OC.requestToken changed XEea4U6rLoQg4uzNtWcU8WcpoYlMixUC/DkYWDe3uxY=:KSXdrjfHf+h40YKhnghcmFVA7eoWxkFwqgFNDnLhi3A=
34vue.runtime.esm.js:3065 Error: Debounced method called with different contexts.
    at o.c (index.js:39:10)
    at onUpdate (editorMixin.js:123:12)
    at li.<anonymous> (editor.js:64:4)
    at xn (vue.runtime.esm.js:3033:30)
    at t.$emit (vue.runtime.esm.js:3732:17)
    at s.emit (Editor.vue:699:1)
    at at.onUpdate (Editor.vue:518:1)
    at index.js:155:52
    at Array.forEach (<anonymous>)
    at at.emit (index.js:155:23)
An @ vue.runtime.esm.js:3065
Show 1 more frame
Show less
Editor.vue:699 Error: Debounced method called with different contexts.
    at o.c (index.js:39:10)
    at onUpdate (editorMixin.js:123:12)
    at li.<anonymous> (editor.js:64:4)
    at xn (vue.runtime.esm.js:3033:30)
    at t.$emit (vue.runtime.esm.js:3732:17)
    at s.emit (Editor.vue:699:1)
    at at.onUpdate (Editor.vue:518:1)
    at index.js:155:52
    at Array.forEach (<anonymous>)
    at at.emit (index.js:155:23)
An @ vue.runtime.esm.js:3065
Sn @ vue.runtime.esm.js:3057
On @ vue.runtime.esm.js:3024
xn @ vue.runtime.esm.js:3040
t.$emit @ vue.runtime.esm.js:3732
emit @ Editor.vue:699
onUpdate @ Editor.vue:518
(anonymous) @ index.js:155
emit @ index.js:155
setEditable @ index.js:3511
onChange @ Editor.vue:558
(anonymous) @ mitt.mjs:1
emit @ mitt.mjs:1
emit @ SyncService.js:321
_handleResponse @ PollingBackend.js:128
Show 10 more frames
Show less

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

  • Status

    ☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions