NotePlan / NotePlan/plugins

Event Helpers *|MEETINGNOTE|* using wrong template file

Open
#505 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
204
Forks
82
Avg merge
22h 27m
Merged PRs (30d)
3

Description

Describe the bug
The |MEETINGNOTE| functionality in the event helpers plugin was using the a template file from the trash with the same name as the one in my @templates folder.

To Reproduce
Steps to reproduce the behavior:
I'm not 100% sure on this - but I believe I created a meeting note template, with a certain name, and that one was using event.date() which wasn't working well with recurring meetings - the |MEETINGNOTE| to give a link to the meeting note was only giving me the FIRST date the recurring meeting was created on.
Then I deleted that template. Then I created another meeting note, with the same name as the first. This time I used the date8601() to correct that recurring event date issue, but the old meeting note template in the trash was used instead.

I fixed it by changing the name of my template.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Event Helpers plugin and its |MEETINGNOTE| handling; the issue does not name a file or test. Reproduce the duplicate-name scenario with a recurring meeting and inspect template lookup around deleted items. Done means the active template is selected instead of the matching template in the trash.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.