windingwind / zotero-better-notes

Everything about note management. All in Zotero.
GNU Affero General Public License v3.0
5.5k stars 188 forks source link

[Bug] Linked note content only shown as preview, not full text #1134

Closed TiRo420 closed 1 month ago

TiRo420 commented 1 month ago

Is there an existing issue for this?

Are you using the latest Zotero and the latest plugin?

Environment

Describe the bug

When linking notes to a note that I use as a main note (I am aware the main note function has disappeared from the newest version, but I still treat some notes as such), the linked text is only shown in a pop-up window and the main note only shows the heading (see picture) Unbenannt. Also when I export this main note as a word document, the exported document only shows the heading. How can I expand the linked content in the main note so that it shows the complete text?

Debug Output

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "Debugging DOI for item and extra "]

[JavaScript Error: "TypeError: this.editorView is undefined" {file: "resource://zotero/note-editor/editor.js" line: 6}]

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "TypeError: this.editorView is undefined" {file: "resource://zotero/note-editor/editor.js" line: 6}]

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "TypeError: this.editorView is undefined" {file: "resource://zotero/note-editor/editor.js" line: 6}]

[JavaScript Error: "TypeError: this.collectionsView is undefined" {file: "chrome://betternotes/content/scripts/customElements.js" line: 2746}] destroy@chrome://betternotes/content/scripts/customElements.js:2746:7 disconnectedCallback@chrome://zotero/content/elements/base.js:61:10 _handleWindowUnload@chrome://zotero/content/elements/base.js:67:10 openLinkCreator@jar:file:///C:/Users/rottleb/AppData/Roaming/Zotero/Zotero/Profiles/mt1uipfo.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/BetterNotes.js:32132:28 listener@jar:file:///C:/Users/rottleb/AppData/Roaming/Zotero/Zotero/Profiles/mt1uipfo.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/BetterNotes.js:32168:30

[JavaScript Error: "TypeError: this.collectionsView is undefined" {file: "chrome://betternotes/content/scripts/customElements.js" line: 2746}] destroy@chrome://betternotes/content/scripts/customElements.js:2746:7 init/<@chrome://betternotes/content/scripts/customElements.js:2728:14 openLinkCreator@jar:file:///C:/Users/rottleb/AppData/Roaming/Zotero/Zotero/Profiles/mt1uipfo.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/BetterNotes.js:32132:28 listener@jar:file:///C:/Users/rottleb/AppData/Roaming/Zotero/Zotero/Profiles/mt1uipfo.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/BetterNotes.js:32168:30

[JavaScript Error: "TypeError: this.collectionsView is undefined" {file: "chrome://betternotes/content/scripts/customElements.js" line: 2746}] destroy@chrome://betternotes/content/scripts/customElements.js:2746:7 disconnectedCallback@chrome://zotero/content/elements/base.js:61:10 disconnectedCallback@chrome://zotero/content/elements/base.js:60:10 _handleWindowUnload@chrome://zotero/content/elements/base.js:67:10 openLinkCreator@jar:file:///C:/Users/rottleb/AppData/Roaming/Zotero/Zotero/Profiles/mt1uipfo.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/BetterNotes.js:32132:28 listener@jar:file:///C:/Users/rottleb/AppData/Roaming/Zotero/Zotero/Profiles/mt1uipfo.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/BetterNotes.js:32168:30

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "TypeError: this.editorView is undefined" {file: "resource://zotero/note-editor/editor.js" line: 6}]

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "TypeError: this.editorView is undefined" {file: "resource://zotero/note-editor/editor.js" line: 6}]

[JavaScript Error: "Security Error: Content at moz-nullprincipal:{0a4ee7c4-c127-43de-83a1-43f1607d8a3c} may not load or link to chrome://betternotes/content/treeView.html."]

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead"]

[JavaScript Error: "TypeError: this.editorView is undefined" {file: "resource://zotero/note-editor/editor.js" line: 6}]

[JavaScript Error: "TypeError: emptyListMessage is null" {file: "chrome://zotero/content/standalone/standalone.js" line: 687}] ZoteroStandalone</this.updateAddonsPane/<@chrome://zotero/content/standalone/standalone.js:687:7

[JavaScript Error: "Error: Handler not found for 'addons' URLs" {file: "chrome://zotero/content/xpcom/zotero.js" line: 1094}]

appName => Zotero, version => 7.0.5 (x86 on x64), os => Windows 10.0 19045, locale => de, extensions => Scite Zotero Plugin (V7+) (2.0.2, extension), Better Notes for Zotero (2.0.0, extension), Zotero Tag (0.3.0, extension, disabled)

Anything else?

No response

windingwind commented 1 month ago

That’s a “linked” note - you use it as a link.

To export with all linked notes embedded, check the “embed linked notes” in the export window options.