windingwind / zotero-better-notes

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

[Bug] The Parent Item information is not updated #830

Closed mjthoraval closed 9 months ago

mjthoraval commented 11 months ago

Is there an existing issue for this?

Are you using the latest Zotero and the latest plugin?

Environment

Describe the bug

When opening multiple notes in a row on the righ-hand side of the workspace, it does not update the Parent Item information properly at the bottom of the note on the side of the workspace.

image

Debug Output

[I can provide if needed.]

Anything else?

No response

windingwind commented 11 months ago

Thanks for the feedback. This is a Zotero feature, please report to the forums. Close here.

mjthoraval commented 11 months ago

As I understand, the pane I am refererring to is only available in the BN plugin. I could not reproduce anything like this in Zotero when the BN plugin is disabled.

1) image

2) Click on the link in the red box -> image

Notice that the note on the right side does not have any Parent Item: tt is a Standalone Note.

3) Click on the third link in the red box above -> image

Notice that this note has a Parent Item: it is a child note.

4) Click again on the first link in the red box of the first image -> image

Now, the Standalone note named "Another test note" has a Parent Item displayed, which is wrong.

Debug output for doing these steps, if it is useful:


1702332786804   addons.xpi  WARN    Checking C:\Program Files\Zotero\distribution\extensions for addons

[JavaScript Error: "NS_NOINTERFACE: " {file: "resource://gre/modules/ComponentUtils.jsm" line: 90}]
createInstance@resource://gre/modules/ComponentUtils.jsm:90:36

1702332788168   addons.xpi  WARN    Addon with ID undefined already installed, older version will be disabled

[JavaScript Error: "Error: Addon must include an id, version, and type" {file: "resource://gre/modules/addons/XPIProvider.jsm" line: 1710}]

[JavaScript Error: "Error: Addon must include an id, version, and type" {file: "resource://gre/modules/addons/XPIProvider.jsm" line: 1710}]

[JavaScript Error: "NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITelemetry.getHistogramById]" {file: "resource://gre/modules/TerminatorTelemetry.jsm" line: 87}]

[JavaScript Error: "NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITelemetry.getHistogramById]" {file: "resource://gre/modules/TerminatorTelemetry.jsm" line: 87}]

[JavaScript Error: "NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsITelemetry.getHistogramById]" {file: "resource://gre/modules/TerminatorTelemetry.jsm" line: 87}]

[JavaScript Error: "NS_ERROR_NOT_AVAILABLE" {file: "resource://gre/modules/PartitioningExceptionListService.jsm" line: 92}]

[JavaScript Error: "uncaught exception: undefined"]

[JavaScript Error: "NotFoundError: Could not get children of file(C:\Users\mjthoraval\AppData\Roaming\Zotero\Zotero\Crash Reports\events) because it does not exist" {file: "resource://gre/modules/CrashManager.jsm" line: 682}]
_getUnprocessedEventsFiles/<@resource://gre/modules/CrashManager.jsm:682:12

[JavaScript Error: "Security Error: Content at moz-nullprincipal:{6eec3d34-3aaa-48ba-b393-26c9434ff429} 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: "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"]

appName => Zotero, version => 7.0.0-beta.53+969031a37, os => Windows 10.0 19045, locale => en-US, extensions => Better Notes for Zotero (1.1.4-45, extension), Open PDF for Zotero (0.0.8, extension, disabled), Zotero PDF Preview (1.0.0-4, extension, disabled), Zotero Better Authors (4.0.2, extension, disabled), Translate for Zotero (1.1.0-22, extension, disabled), Better BibTex for Zotero (6.7.140, extension, disabled), Actions and Tags for Zotero (1.0.0-29, extension, disabled)

(3)(+0251151): Notifier.trigger('select', 'tab', [tab-h6cK3AkM], {"tab-h6cK3AkM":{"type":"betternotes"}}) called [observers: 5]

(3)(+0000116): [Better Notes for Zotero] [Warning] Creating element iframe with no namespace specified. Found multiply namespace matches.

(4)(+0000009): Registering notifier observer 'relatedbox_vn' for [item]

(4)(+0000002): Registering notifier observer 'relatedbox_vf' for [item]

(4)(+0000000): Registering notifier observer 'tagsBox_VV' for [item-tag,setting]

(4)(+0000000): Registering notifier observer 'noteEditor_om' for [item]

(4)(+0000006): Registering notifier observer 'relatedbox_03' for [item]

(4)(+0000001): Registering notifier observer 'relatedbox_Dr' for [item]

(4)(+0000001): Registering notifier observer 'tagsBox_pg' for [item-tag,setting]

(4)(+0000000): Registering notifier observer 'noteEditor_re' for [item]

(3)(+0000017): Rendering tag selector

(3)(+0000005): Rendering tag list

(3)(+0000008): Tag selector updated

(3)(+0000074): itemTree.render(). Displaying Item Tree

(3)(+0000244): [Better Notes for Zotero] ok

(3)(+0000001): Reloading tags box

(3)(+0000012): Getting contents of jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/4o6yeo4t.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/editorScript.js

(1)(+0000000): Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead

(3)(+0000001): HTTP GET jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/4o6yeo4t.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/editorScript.js

(3)(+0000064): HTTP GET jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/4o6yeo4t.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/editorScript.js succeeded with 200

(3)(+0000000): [Better Notes for Zotero] [Warning] Creating element script with no namespace specified. Found multiply namespace matches.

(3)(+0000006): [Better Notes for Zotero] [Warning] Creating element style with no namespace specified. Found multiply namespace matches.

(3)(+0000001): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0001714): [Better Notes for Zotero] {}

(3)(+0003639): [Better Notes for Zotero] {}

(3)(+0000000): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0000001): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0000001): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0000000): [Better Notes for Zotero] {}

(3)(+0000010): [Better Notes for Zotero] {}

(3)(+0000001): [Better Notes for Zotero] {}

(3)(+0000000): [Better Notes for Zotero] {}

(3)(+0000001): [Better Notes for Zotero] {}

(3)(+0000000): [Better Notes for Zotero] {}

(3)(+0003209): [Better Notes for Zotero] ok

(3)(+0000001): Reloading tags box

(3)(+0000012): Getting contents of jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/4o6yeo4t.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/editorScript.js

(1)(+0000000): Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead

(3)(+0000001): HTTP GET jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/4o6yeo4t.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/editorScript.js

(3)(+0000063): HTTP GET jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/4o6yeo4t.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/editorScript.js succeeded with 200

(3)(+0000001): [Better Notes for Zotero] [Warning] Creating element script with no namespace specified. Found multiply namespace matches.

(3)(+0000004): [Better Notes for Zotero] [Warning] Creating element style with no namespace specified. Found multiply namespace matches.

(3)(+0000001): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0000001): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0004802): [Better Notes for Zotero] {}

(3)(+0000000): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0000001): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0000000): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0000001): [Better Notes for Zotero] {}

(3)(+0000001): [Better Notes for Zotero] {}

(3)(+0000000): [Better Notes for Zotero] {}

(3)(+0000001): [Better Notes for Zotero] {}

(3)(+0001890): [Better Notes for Zotero] ok

(4)(+0000001): Beginning DB transaction iw2peALA

(3)(+0000001): Reloading tags box

(3)(+0000013): Getting contents of jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/4o6yeo4t.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/editorScript.js

(1)(+0000000): Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead

(3)(+0000001): HTTP GET jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/4o6yeo4t.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/editorScript.js

(4)(+0000036): Committed DB transaction iw2peALA

(3)(+0000028): HTTP GET jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/4o6yeo4t.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/editorScript.js succeeded with 200

(3)(+0000001): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0000001): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0003749): [Better Notes for Zotero] {}

(3)(+0000000): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0000001): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0000000): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0000001): [Better Notes for Zotero] {}

(3)(+0000000): [Better Notes for Zotero] {}

(3)(+0000000): [Better Notes for Zotero] {}

(3)(+0000000): [Better Notes for Zotero] {}

(3)(+0002407): [Better Notes for Zotero] ok

(4)(+0000002): Beginning DB transaction n45QFoas

(3)(+0000001): Reloading tags box

(3)(+0000029): Getting contents of jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/4o6yeo4t.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/editorScript.js

(1)(+0000000): Passing a URI to Zotero.File.getContentsAsync() is deprecated -- use Zotero.HTTP.request() instead

(3)(+0000001): HTTP GET jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/4o6yeo4t.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/editorScript.js

(4)(+0000031): Committed DB transaction n45QFoas

(3)(+0000024): HTTP GET jar:file:///C:/Users/mjthoraval/AppData/Roaming/Zotero/Zotero/Profiles/4o6yeo4t.default/extensions/Knowledge4Zotero@windingwind.com.xpi!/chrome/content/scripts/editorScript.js succeeded with 200

(3)(+0000001): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.

(3)(+0000001): [Better Notes for Zotero] [Warning] Creating element button with no namespace specified. Found multiply namespace matches.
windingwind commented 11 months ago

I see, but let's also leave this after Z7 official release. Thanks for the report.

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 9 months ago

This issue was closed because it has been inactive for 7 days since being marked as stale.