Skip to content

fix #2083 ID should be added to org-id-locations-file after capture#2086

Merged
jethrokuan merged 2 commits intoorg-roam:masterfrom
nobiot:master
Feb 8, 2022
Merged

fix #2083 ID should be added to org-id-locations-file after capture#2086
jethrokuan merged 2 commits intoorg-roam:masterfrom
nobiot:master

Conversation

@nobiot
Copy link
Contributor

@nobiot nobiot commented Feb 7, 2022

Currently, Condition 1 below is met. A fix will need to meet Condition 2 in addition.

  1. The new Org ID must be available to other functions during the capture
    process

  2. Adding the new Org ID to Org ID file/hash must be done after "Abort" check
    -- i.e., when the user aborts the capture process, the new ID must not be
    added to the Org ID file and hash database

Motivation for this change

…apture

Currently, Condition 1 below is met. A fix will need to meet Condition 2 in addition.

1. The new Org ID must be available to other functions during the capture
   process

2. Adding the new Org ID to Org ID file/hash must be done after "Abort" check
   -- i.e., when the user aborts the capture process, the new ID must not be
   added to the Org ID file and hash database
@jethrokuan
Copy link
Member

Thanks @nobiot , I think this fix looks good. Could you:

  1. Add a space between the paranthesized expressions
  2. Add an entry into the changelog describing the fix? (like "Correctly update org-id-locations on capture")

@nobiot
Copy link
Contributor Author

nobiot commented Feb 8, 2022

Of course.
Done.

@jethrokuan jethrokuan merged commit b163c90 into org-roam:master Feb 8, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants