Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content disappears in view mode #932

Closed
Edukarl opened this issue Oct 9, 2023 · 2 comments · Fixed by #936
Closed

Content disappears in view mode #932

Edukarl opened this issue Oct 9, 2023 · 2 comments · Fixed by #936
Labels
bug Something isn't working needs info

Comments

@Edukarl
Copy link

Edukarl commented Oct 9, 2023

Describe the bug
These Bugs seem to be connected, because with a new collective it works fine:

  1. Whenever i open a Collective it starts in "Edit mode". Although in the "Page settings" i set "Default page mode" to "View".
  2. When leaving the view mode by clicking "Done" the content of the Landing Page disappears.

Reproduction:

  1. Create a new Collective.
  2. Edit the Landing Page.
  3. Go to the "Versions"-Tab and revert to the old version.
  4. Click on Done. Content disappears.
  5. Clicking on edit makes the content appear again, not the revertet version though.

Client details:

  • OS: Linux
  • Browser: Firefox
  • Version: 27
  • Device: desktop

Collectives app version: 2.8.2

@Edukarl Edukarl added the bug Something isn't working label Oct 9, 2023
@mejo-
Copy link
Member

mejo- commented Oct 24, 2023

Thanks for your report @Edukarl. To get a better understanding of your issue, we need further information.

Whenever i open a Collective it starts in "view mode". Although in the "Page settings" i set "Default page mode" to "view".

That's what is expected, no?

When leaving the view mode by clicking "Done" the content of the Landing Page disappears.

While doing this, please open the web console of your browser (Ctrl-Shift-I on Firefox/Chrome) and send us any errors or warnings being logged there.

Furthermore, a screenshot or screencast of the problem you face could help us to get a better picture.

@Edukarl
Copy link
Author

Edukarl commented Oct 30, 2023

Thanks for your report @Edukarl. To get a better understanding of your issue, we need further information.

Whenever i open a Collective it starts in "view mode". Although in the "Page settings" i set "Default page mode" to "view".

That's what is expected, no?

Sorry, that first mention was meant to be "Edit mode" instead of "View mode".

When leaving the view mode by clicking "Done" the content of the Landing Page disappears.

While doing this, please open the web console of your browser (Ctrl-Shift-I on Firefox/Chrome) and send us any errors or warnings being logged there.

There are no logs just from pressing that button, but it seems to be connected to the revert to old version, so heres the logs from that:

11:11:25.380 JQMIGRATE: Migrate is installed, version 3.4.1 jquery-migrate.min.js:2:980
11:11:25.814 Proxying an event bus of version 3.1.0 with 1.3.0 index.es.js:2337:14
11:11:26.007 [WARN] viewer: Some mimes were ignored because they are not enabled in the server previews config 
Object { app: "viewer", uid: "username", level: 2, ignoredMimes: (3) […] }
ConsoleLogger.js:56:18
11:11:26.023 OCA.Viewer initialized Viewer.js:81:10
11:11:26.456 Proxying an event bus of version 3.1.0 with 1.3.0 index.es.js:2337:14
11:11:27.325 Proxying an event bus of version 3.1.0 with 1.3.0 index.es.js:2337:14
11:11:27.563 Yjs was already imported. This breaks constructor checks and will lead to issues! - https://github.com/yjs/yjs/issues/438 yjs.mjs:10114:10
11:11:27.963 Proxying an event bus of version 3.1.0 with 1.3.0 index.es.js:2337:14
11:11:28.135 session heartbeat polling started session-heartbeat.js:103:9
11:11:28.338 This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”. test
11:11:28.715 The `name` prop is required. Please migrate away from the deprecated `title` prop. index.module.js:2:858444
11:11:28.779 Polling every 60 seconds. Collective.vue:134
11:11:28.779 Started background fetcher as session_keepalive is enabled Collective.vue:150
11:11:28.882 Stopping background fetcher. Collective.vue:161
11:11:28.888 Polling every 60 seconds. Collective.vue:134
11:11:28.888 Started background fetcher as session_keepalive is enabled Collective.vue:150
11:11:29.059 Proxying an event bus of version 3.1.0 with 1.3.0 index.es.js:2337:14
11:11:29.090 Registering notifications container as a menu NotificationsApp.vue:219
11:11:29.091 Notifications permissions denied NotificationsApp.vue:459
11:11:29.095 Polling interval updated to 30000 NotificationsApp.vue:416
11:11:29.096 Started background fetcher as session_keepalive is enabled NotificationsApp.vue:275
11:11:29.334 Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). inject.js:77:25
11:11:30.216 Got notification data, restoring default polling interval. NotificationsApp.vue:376
11:11:30.503 Failed to fetch content of page 
Object { stack: "Xt@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6076073\nPn</</c/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6090007\nc@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6090155\n", message: "Request failed with status code 500", name: "AxiosError", code: "ERR_BAD_RESPONSE", config: {…}, request: XMLHttpRequest, response: {…} }
pageContentMixin.js:35:12
11:11:30.516 Error: Input data should be a String
    parse index.js:519
    render index.js:544
    renderHtml index.js:4446
    htmlContent index.js:591
    VueJS 3
    createEditor index.js:612
    created index.js:603
    VueJS 30
vue.runtime.esm.js:3049:16
11:11:35.025 You need to fill either the text or the ariaLabel props in the button component. 
Object { text: undefined, ariaLabel: null }
 
Object { _uid: 64, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": (1) […], … }
index.module.js:2:812000
11:11:35.082 TypeError: this.$editor is undefined
    updateContent index.js:617
    content index.js:599
    VueJS 5
vue.runtime.esm.js:3049:16
11:11:35.575 You need to fill either the text or the ariaLabel props in the button component. 
Object { text: undefined, ariaLabel: null }
 
Object { _uid: 64, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": (1) […], … }
index.module.js:2:812000
11:11:55.047 You need to fill either the text or the ariaLabel props in the button component. 
Object { text: undefined, ariaLabel: null }
 
Object { _uid: 64, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": (1) […], … }
index.module.js:2:812000
11:12:15.044 You need to fill either the text or the ariaLabel props in the button component. 
Object { text: undefined, ariaLabel: null }
 
Object { _uid: 64, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": (1) […], … }
index.module.js:2:812000
11:12:35.045 You need to fill either the text or the ariaLabel props in the button component. 
Object { text: undefined, ariaLabel: null }
 
Object { _uid: 64, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": (1) […], … }
index.module.js:2:812000
11:12:48.422 XHRGET
https://my.domain.org/apps/collectives/_api/1/_pages/parent/0/page/182141/backlinks
[HTTP/2 500  484ms]

11:12:48.941 Failed to get page backlinks 
Object { stack: "Xt@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6076073\nPn</</c/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6090007\nc@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6090155\nEventHandlerNonNull*Pn</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6090445\nPn<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6089275\nUn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6092923\nrequest@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6096559\nQn.prototype[e]@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6096855\nAt/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6070912\nxY.actions</n/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8162566\nd@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8138414\nfY/k/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8139762\nfY/T/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8138843\ngY@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8144332\no@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8144538\nmY/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8144598\nmY/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8144476\nxY.actions<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8162687\nv/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6042730\nm.prototype.dispatch@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6044494\nm/this.dispatch@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6039951\nx</</n[r]@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6047121\ngetBacklinks/e/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6248199\nd@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6240314\n_s/k/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6241662\n_s/T/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6240743\nAs@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6246232\no@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6248608\ngetBacklinks/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6248668\ngetBacklinks/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6248546\ngetBacklinks@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6248681\nmounted@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6247929\nTn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3331829\n_r@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3337686\ninsert@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3341303\nk@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3376599\n20144/eo@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3377958\n20144/e.prototype._update@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3353863\nr@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3384842\n20144/e.prototype.get@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3335491\n20144/e.prototype.run@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3336224\nxr@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3338182\n20144/jn/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3332898\nNn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3332297\npromise callback*En@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3332387\njn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3332961\nDr@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3338678\n20144/e.prototype.update@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3336160\n20144/e.prototype.notify@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3316517\nMe@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3318602\ntoggle@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8182231\nv/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6042542\nm.prototype.commit/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6044085\nm.prototype.commit/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6044063\nm.prototype._withCommit@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6045893\nm.prototype.commit@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6044037\nm/this.commit@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6040001\nk</</n[r]@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6046575\nclick@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8042071\nclick@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:1759778\nTn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3331816\nn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3324238\nclick@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:1735806\nTn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3331816\nn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3324238\n20144/ua/a._wrapper@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3364754\n", message: "Request failed with status code 500", name: "AxiosError", code: "ERR_BAD_RESPONSE", config: {…}, request: XMLHttpRequest, response: {…} }
SidebarTabBacklinks.vue:130
11:12:55.073 You need to fill either the text or the ariaLabel props in the button component. 
Object { text: undefined, ariaLabel: null }
 
Object { _uid: 64, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": (1) […], … }
index.module.js:2:812000
11:13:00.987 You need to fill either the text or the ariaLabel props in the button component. 
Object { text: undefined, ariaLabel: null }
 
Object { _uid: 211, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": [], … }
index.module.js:2:812052
11:13:01.065 TypeError: this.$editor is undefined
    beforeDestroy index.js:607
    VueJS 43
    mutations versions.js:21
    v vuex.esm.js:844
    commit vuex.esm.js:466
    commit vuex.esm.js:465
    _withCommit vuex.esm.js:624
    commit vuex.esm.js:464
    commit vuex.esm.js:409
    clickPreviewVersion SidebarTabVersions.vue:176
    click SidebarTabVersions.vue:1
    VueJS 4
    onClick index.module.js:2
    click index.module.js:2
    VueJS 33
vue.runtime.esm.js:3049:16
11:13:01.685 XHRPOST
https://my.domain.org/apps/text/session/push
[HTTP/2 403  233ms]

11:13:01.926 [ERROR] text: failed to write to document - not allowed 
Object { app: "text", uid: "username", level: 2 }
ConsoleLogger.js:74:18
11:13:01.928 [ERROR] text: Unexpected Error "Failed to apply steps. Retry!" 
Object { app: "text", uid: "username", level: 2, error: Error }
ConsoleLogger.js:74:18
11:13:01.991 You need to fill either the text or the ariaLabel props in the button component. 
Object { text: undefined, ariaLabel: null }
 
Object { _uid: 211, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": [], … }
index.module.js:2:812052
11:13:05.526 XHRGET
https://my.domain.org/remote.php/dav/files/username/Collectives/test/Readme.md
[HTTP/2 500  676ms]

11:13:06.223 Failed to fetch content of page 
Object { stack: "Xt@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6076073\nPn</</c/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6090007\nc@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6090155\nEventHandlerNonNull*Pn</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6090445\nPn<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6089275\nUn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6092923\nrequest@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6096559\nQn.prototype[e]@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6096855\nAt/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6070912\nfetchPageContent/t/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:7918915\nd@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:7909111\nER/k/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:7910459\nER/T/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:7909540\nxR@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:7915029\no@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:7919234\nfetchPageContent/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:7919294\nfetchPageContent/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:7919172\nfetchPageContent@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:7919307\ngetPageContent/e/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8025450\nd@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8014665\nBL/k/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8016013\nBL/T/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8015094\nOL@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8020583\no@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8025714\ngetPageContent/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8025774\ngetPageContent/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8025652\ngetPageContent@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8025787\nmounted@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8022679\nTn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3331829\n_r@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3337686\ninsert@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3341303\nk@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3376599\n20144/eo@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3377958\n20144/e.prototype._update@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3353863\nr@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3384842\n20144/e.prototype.get@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3335491\n20144/e.prototype.run@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3336224\nxr@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3338182\n20144/jn/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3332898\nNn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3332297\npromise callback*En@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3332387\njn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3332961\nDr@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3338678\n20144/e.prototype.update@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3336160\n20144/e.prototype.notify@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3316517\nset@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3318320\nUY.mutations<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8180136\nv/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6042542\nm.prototype.commit/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6044085\nm.prototype.commit/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6044063\nm.prototype._withCommit@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6045893\nm.prototype.commit@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6044037\nm/this.commit@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:6040001\nrevertVersion/n/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8051460\nd@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8043157\nnI/k/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8044505\nnI/T/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8043586\nrI@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8049075\no@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8049281\npromise callback*rI@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8049146\no@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8049281\niI/</<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8049341\niI/<@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8049219\nrevertVersion@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:8051940\nTn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3331816\nn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3324238\nclick@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:1735806\nTn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3331816\nn@https://my.domain.org/custom_apps/collectives/js/collectives-main.js?v=b4ba3bb4-0:2:3324238\n", message: "Request failed with status code 500", name: "AxiosError", code: "ERR_BAD_RESPONSE", config: {…}, request: XMLHttpRequest, response: {…} }
pageContentMixin.js:35:12
11:13:06.241 Error: Input data should be a String
    parse index.js:519
    render index.js:544
    renderHtml index.js:4446
    htmlContent index.js:591
    VueJS 3
    createEditor index.js:612
vue.runtime.esm.js:3049:16
11:13:06.776 You need to fill either the text or the ariaLabel props in the button component. 
Object { text: undefined, ariaLabel: null }
 
Object { _uid: 467, _isVue: true, __v_skip: true, _scope: {…}, "$options": {…}, _renderProxy: {…}, _self: {…}, "$parent": {…}, "$root": {…}, "$children": [], … }
index.module.js:2:812000
11:13:06.847 TypeError: this.$editor is undefined
    updateContent index.js:617
    content index.js:599
    VueJS 12
    done store.js:62
    v vuex.esm.js:844
    commit vuex.esm.js:466
    commit vuex.esm.js:465
    _withCommit vuex.esm.js:624
    commit vuex.esm.js:464
    commit vuex.esm.js:409
    r vuex.esm.js:995
    readyEditor TextEditor.vue:179
    VueJS 4
    ready Editor.vue:60
    VueJS 5
    ready Editor.vue:59
    VueJS 4
    emit Editor.vue:696
    onStateChange Editor.vue:603
    emit mitt.mjs:1
    emit mitt.mjs:1
    emit SyncService.js:309
    _handleResponse PollingBackend.js:147
    promise callback*_fetchSteps PollingBackend.js:121
    setInterval handler*connect PollingBackend.js:91
    startSync SyncService.js:126
    onCreate Editor.vue:492
    emit index.js:155
    emit index.js:155
    at index.js:3442
    setTimeout handler*at index.js:3437
    Ot EditorFactory.js:72
    onLoaded Editor.vue:487
    promise callback*onLoaded Editor.vue:484
    emit mitt.mjs:1
    emit mitt.mjs:1
    emit SyncService.js:309
    open SyncService.js:119
    async* WebSocketPolyfill.js:73
    M y-websocket.js:131
    connect y-websocket.js:484
    L y-websocket.js:378
    e SyncServiceProvider.js:43
    initSession Editor.vue:373
    mounted Editor.vue:316
    VueJS 5
vue.runtime.esm.js:3049:16

Furthermore, a screenshot or screencast of the problem you face could help us to get a better picture.

On opening the Collective "Edit mode" is directly activated, as you can see from the "Done"-Button up there:

Screenshot 1

Leaving "Edit mode" by clicking the "Done"-Button makes the Content disapear:

Screenshot from 3

Page settings confirm, that view should be the default mode:

Screenshot 2

In the end I should emphasize that the reverting to old versions seems to be broken, which can also be found in the logs.

@mejo- mejo- mentioned this issue Nov 8, 2023
7 tasks
@mejo- mejo- closed this as completed in #936 Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs info
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants