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

Last character of Note Title's getting Truncated #3948

Open
7 tasks
BradleyFrueh opened this issue Sep 20, 2023 · 4 comments
Open
7 tasks

Last character of Note Title's getting Truncated #3948

BradleyFrueh opened this issue Sep 20, 2023 · 4 comments
Labels
status.triage-needed type.bug Something isn't working

Comments

@BradleyFrueh
Copy link

BradleyFrueh commented Sep 20, 2023

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

  • Workspace. VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
  • Lookup. Dendron's Lookup Command
  • Views. Dendron Preview, Tree View, Side Panels in the UI
  • Schema. Dendron Schemas
  • Pod. Data import from / export to Dendron
  • Publish. External Site Publish
  • Markdown. Markdown features, such as syntax support and features

Describe the bug

The note id should reflect the note title. When created a date such as 2023-09-19, the nine gets truncated in the note id field. The file name is correct, indicating it wasn't a typo but a software bug.

To Reproduce

Steps to reproduce the behavior:

  1. [ctrl+l] to create a new note named "project-name.reports.2023-09-19"
  2. Observe the note id and see that it was truncated.

Expected behavior

I create a note with a date and all characters make it to the title attribute of thenote.

Screenshots

image

Desktop (please complete the following information)

  • OS: Windows 10
  • Browser (if with published websites; include version): [e.g. chrome, safari]
  • Versions (all that apply to bug): n/a
    • Dendron Extension: v0.124.0
    • VS Code version: 1.82
    • Dendron CLI: n/a

Additional context

n/a

Dendron Log file

{"level":30,"time":1695237917527,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"Logger:configure","msg":"exit","logLevel":"info"}
{"level":30,"time":1695237917752,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"_activate","stage":"prod","isDebug":false,"logLevel":"info","logPath":"c:\Users\G056220\AppData\Roaming\Code\logs\20230920T120944\window1\exthost\dendron.dendron","extensionPath":"c:\Users\G056220\.vscode\extensions\dendron.dendron-0.124.0","extensionUri":"c:\Users\G056220\.vscode\extensions\dendron.dendron-0.124.0","workspaceFolders":["o:\rsch\RAU\projects\Brad\Projects\git\GITLAB\Dendron-Vault"]}
{"level":30,"time":1695237918022,"pid":17780,"hostname":"WIN10VM222","name":"SegmentClient","msg":"No cache path for Segment specified. Failed event uploads will not be retried."}
{"level":30,"time":1695237918024,"pid":17780,"hostname":"WIN10VM222","name":"SegmentClient","msg":"user telemetry setting: enabled by config"}
{"level":30,"time":1695237918024,"pid":17780,"hostname":"WIN10VM222","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1695237918025,"pid":17780,"hostname":"WIN10VM222","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1695237918025,"pid":17780,"hostname":"WIN10VM222","name":"SegmentClient","msg":"anonymous id","anonymousId":"9m7z29wceoqbm0lv35u665r"}
{"level":30,"time":1695237918029,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"DendronExtension","msg":"initialized"}
{"level":30,"time":1695237926128,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"_activate","msg":"initializeWorkspace","wsType":"NATIVE","currentVersion":"0.124.0","previousGlobalVersion":"0.124.0","extensionInstallStatus":"NO_CHANGE"}
{"level":30,"time":1695237926199,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WorkspaceActivator.init:postSetupTraits","wsRoot":"o:\rsch\RAU\projects\Brad\Projects\git\GITLAB\Dendron-Vault"}
{"level":30,"time":1695237926298,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"runMigrationsIfNecessary","changes":[],"workspaceInstallStatus":"NO_CHANGE"}
{"level":30,"time":1695237926298,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WorkspaceActivator.init:postMigration","wsRoot":"o:\rsch\RAU\projects\Brad\Projects\git\GITLAB\Dendron-Vault"}
{"level":30,"time":1695237926373,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WorkspaceActivator.init:postWsServiceInitialize","wsRoot":"o:\rsch\RAU\projects\Brad\Projects\git\GITLAB\Dendron-Vault"}
{"level":30,"time":1695237926499,"pid":17780,"hostname":"WIN10VM222","name":"execServer","state":"enter"}
{"level":30,"time":1695237926576,"pid":17780,"hostname":"WIN10VM222","name":"execServer","state":"post:exec.node"}
{"level":30,"time":1695237930248,"pid":15488,"hostname":"WIN10VM222","name":"SegmentClient","msg":"No cache path for Segment specified. Failed event uploads will not be retried."}
{"level":30,"time":1695237930249,"pid":15488,"hostname":"WIN10VM222","name":"SegmentClient","msg":"user telemetry setting: enabled by config"}
{"level":30,"time":1695237930250,"pid":15488,"hostname":"WIN10VM222","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1695237930250,"pid":15488,"hostname":"WIN10VM222","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1695237930251,"pid":15488,"hostname":"WIN10VM222","name":"SegmentClient","msg":"anonymous id","anonymousId":"9m7z29wceoqbm0lv35u665r"}
{"level":30,"time":1695237930330,"pid":17780,"hostname":"WIN10VM222","name":"execServer","state":"message","message":"64691"}
{"level":30,"time":1695237930331,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"handleServerProcess","msg":"subprocess running","pid":15488}
{"level":30,"time":1695237930331,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"startServerProcess","msg":"post-start-server","port":64691,"durationStartServer":3867}
{"level":30,"time":1695237930363,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WorkspaceActivator.init:verifyOrStartServerProcess","port":64691}
{"level":30,"time":1695237930411,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WorkspaceActivator.init:exit"}
{"level":30,"time":1695237930489,"pid":17780,"hostname":"WIN10VM222","name":"SegmentClient","msg":"user telemetry setting: enabled by config"}
{"level":30,"time":1695237930489,"pid":17780,"hostname":"WIN10VM222","name":"SegmentClient","msg":"telemetry initializing"}
{"level":30,"time":1695237930490,"pid":17780,"hostname":"WIN10VM222","name":"SegmentClient","msg":"using existing id"}
{"level":30,"time":1695237930491,"pid":17780,"hostname":"WIN10VM222","name":"SegmentClient","msg":"anonymous id","anonymousId":"9m7z29wceoqbm0lv35u665r"}
{"level":30,"time":1695237930491,"pid":17780,"hostname":"WIN10VM222","name":"dendron","msg":"Telemetry is disabled? false"}
{"level":30,"time":1695237930491,"pid":17780,"hostname":"WIN10VM222","name":"dendron","msg":"Segment Residual Cache Path is at c:\Users\G056220\AppData\Roaming\Code\User\globalStorage\dendron.dendron\segmentresidualcache.log"}
{"level":30,"time":1695237930491,"pid":17780,"hostname":"WIN10VM222","name":"SegmentClient","msg":"Attempting to flush residual segment data from file."}
{"level":30,"time":1695237930626,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"_activate:postSetupWorkspace","platform":"win32","extensions":[{"id":"dendron.dendron","version":"0.124.0","active":true},{"id":"dendron.dendron-paste-image","version":"1.1.1","active":false},{"id":"dendron.dendron-markdown-shortcuts"},{"id":"redhat.vscode-yaml","version":"1.14.0","active":false}],"vaults":[{"fsPath":".","selfContained":true,"name":"Dendron-Vault"}]}
{"level":30,"time":1695237930631,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"dendron.reloadIndex:run","msg":"pre-execute"}
{"level":30,"time":1695237930631,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"ReloadIndex.execute","msg":"enter"}
{"level":30,"time":1695237930830,"pid":15488,"hostname":"WIN10VM222","name":"logger","ctx":"parsingSchemas","fname":"daily","root":{"fsPath":".","selfContained":true,"name":"Dendron-Vault"}}
{"level":30,"time":1695237931058,"pid":15488,"hostname":"WIN10VM222","name":"logger","ctx":"parsingSchemas","fname":"root","root":{"fsPath":".","selfContained":true,"name":"Dendron-Vault"},"imports":[]}
{"level":30,"time":1695237931899,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"ReloadIndex.execute","durationEngineInit":1245}
{"level":30,"time":1695237931900,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"ReloadIndex.execute","msg":"exit"}
{"level":30,"time":1695237931900,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"dendron.reloadIndex:run","msg":"post-execute"}
{"level":30,"time":1695237931914,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"reloadWorkspace","msg":"post-ws.reloadWorkspace"}
{"level":30,"time":1695237931915,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"reloadWorkspace","msg":"exit"}
{"level":30,"time":1695237931954,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"postReloadWorkspace","msg":"same wsVersion"}
{"level":30,"time":1695237931954,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"postReloadWorkspace","msg":"exit"}
{"level":30,"time":1695237931955,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"setupViews","msg":"init:treeViewV2"}
{"level":30,"time":1695237931956,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"setupBacklinkTreeView","msg":"init:backlinks"}
{"level":30,"time":1695237932265,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WorkspaceActivator:activate","msg":"fin startClient","durationReloadWorkspace":1354}
{"level":30,"time":1695237932265,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"activateWorkspace","stage":"prod","msg":"enter"}
{"level":30,"time":1695237932297,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"togglePluginActiveContext","state":"togglePluginActiveContext: true"}
{"level":30,"time":1695237932361,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"showWelcomeOrWhatsNew","version":"0.124.0","previousExtensionVersion":"0.0.0"}
{"level":30,"time":1695237932875,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"updateDecorations","msg":"decorating...","payload":{"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1695237934473,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1695237934528,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WindowWatcher:onDidChangeActiveTextEditor","editor":"o:\rsch\RAU\projects\Brad\Projects\git\GITLAB\Dendron-Vault\notes\CHD-Rehab.reports.md"}
{"level":30,"time":1695237934651,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"updateDecorations","msg":"decorating...","payload":{"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1695237935856,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"dendron.togglePreview:run","msg":"pre-execute"}
{"level":30,"time":1695237936052,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"dendron.togglePreview:run","msg":"post-execute"}
{"level":30,"time":1695237941688,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"GotoNoteCommand","opts":{"qs":"CHD-Rehab.reports.2023-09-19","vault":{"fsPath":".","selfContained":true,"name":"Dendron-Vault"},"column":1,"anchor":{"type":"header","value":"","text":""}},"msg":"enter"}
{"level":30,"time":1695237941790,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":[]}
{"level":30,"time":1695237941791,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1695237941809,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["o:\rsch\RAU\projects\Brad\Projects\git\GITLAB\Dendron-Vault\notes\CHD-Rehab.reports.2023-09-19.md"]}
{"level":30,"time":1695237941812,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1695237941822,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WorkspaceWatcher:onFirstOpen","msg":"enter","fname":"CHD-Rehab.reports.2023-09-19"}
{"level":30,"time":1695237941911,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"GotoNoteCommand","opts":{"qs":"CHD-Rehab.reports.2023-09-19","vault":{"fsPath":".","selfContained":true,"name":"Dendron-Vault"},"column":1,"anchor":{"type":"header","value":"","text":""}},"msg":"exit"}
{"level":30,"time":1695237941931,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WorkspaceWatcher:onFirstOpen","msg":"exit","fname":"CHD-Rehab.reports.2023-09-19"}
{"level":30,"time":1695237941989,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WindowWatcher:onDidChangeActiveTextEditor","editor":"o:\rsch\RAU\projects\Brad\Projects\git\GITLAB\Dendron-Vault\notes\CHD-Rehab.reports.2023-09-19.md"}
{"level":30,"time":1695237942152,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"updateDecorations","msg":"decorating...","payload":{"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1695237947858,"pid":17780,"hostname":"WIN10VM222","name":"dendron","msg":"sendSavedAnalytics"}
{"level":30,"time":1695237947859,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"AnalyticsUtils.sendSavedAnalytics","message":"start"}
{"level":40,"time":1695237947859,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"AnalyticsUtils.sendSavedAnalytics","msg":"failed to read the saved telemetry dir","telemetryDir":"C:\Users\G056220\.dendron\saved-telemetry"}
{"level":30,"time":1695237962374,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1695237963551,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1695237963711,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WindowWatcher:onDidChangeActiveTextEditor","editor":"o:\rsch\RAU\projects\Brad\Projects\git\GITLAB\Dendron-Vault\notes\CHD-Rehab.reports.2023-09-19.md"}
{"level":30,"time":1695237963830,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"updateDecorations","msg":"decorating...","payload":{"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1695237965346,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"updateDecorations","msg":"decorating...","payload":{"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1695237965534,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"updateDecorations","msg":"decorating...","payload":{"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1695237965662,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"updateDecorations","msg":"decorating...","payload":{"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1695237966102,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"updateDecorations","msg":"decorating...","payload":{"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1695237966339,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"updateDecorations","msg":"decorating...","payload":{"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1695237966622,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"updateDecorations","msg":"decorating...","payload":{"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1695237968073,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WorkspaceWatcher:onWillSaveTextDocument","url":"o:\rsch\RAU\projects\Brad\Projects\git\GITLAB\Dendron-Vault\notes\CHD-Rehab.reports.2023-09-19.md","reason":"FocusOut","msg":"enter"}
{"level":30,"time":1695237971863,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"dendron.dev.openLogs:run","msg":"pre-execute"}
{"level":30,"time":1695237971864,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"execute","opts":{}}
{"level":30,"time":1695237971923,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"dendron.dev.openLogs:run","msg":"post-execute"}
{"level":30,"time":1695237971930,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":[]}
{"level":30,"time":1695237971931,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1695237971953,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["c:\Users\G056220\AppData\Roaming\Code\logs\20230920T120944\window1\exthost\dendron.dendron\dendron.log"]}
{"level":30,"time":1695237971957,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1695237971975,"pid":17780,"hostname":"WIN10VM222","name":"dendron","ctx":"WorkspaceWatcher:onFirstOpen","msg":"enter","fname":"dendron.log"}

@github-actions github-actions bot added status.triage-needed type.bug Something isn't working labels Sep 20, 2023
@oolonek
Copy link

oolonek commented Sep 25, 2023

Observed this behavior also. Several have reported in the Discord channel.

@BradleyFrueh BradleyFrueh changed the title Last character of Note ID's getting Truncated Last character of Note Title's getting Truncated Sep 27, 2023
@BradleyFrueh
Copy link
Author

Thanks for the feedback. Should I close the issue since it's a known problem?

@oolonek
Copy link

oolonek commented Sep 27, 2023

No I don't think so. It's a known but unresolved problem. Dendron is hibernating at the moment but who knows if someone has a pointer and why not a solution to this issue.

@BradleyFrueh
Copy link
Author

Roger that. I will leave it open. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status.triage-needed type.bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants