out of curiosity, what did you expect would happen? To me, this seems like correct/expected
behaviour as there is no way to resolve that link. (I'm wondering if there is something wrong
or missing in the manual which has given a different expectation?)

Regards,


Tim Cross

For gor sake stop laughing, this is serious!

From: Kun Liu
Subject: Bug: Unable to resolve link when exporting subtree [9.4.6 (9.4.6-10-gee652a-elpaplus @ /home/kun/.emacs.d/elpa/org-plus-contrib-20210712/)]
To: emacs-orgmode@gnu.org
Date: Tue, 13 Jul 2021 08:45:41 +1000

To reproduce, create a test file as follows:

* A
  link to [[*B][B]]
* B

Put cursor on heading A
C-c C-e (org-export-dispatch)
C-s so Export scope is set to Subtree
t (export to plain text)
A (as ascii buffer)

I see error
user-error: Unable to resolve link: "*B"

Emacs  : GNU Emacs 28.0.50 (build 28, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0)
 of 2021-07-12
Package: Org mode version 9.4.6 (9.4.6-10-gee652a-elpaplus @ /home/kun/.emacs.d/elpa/org-plus-contrib-20210712/)