Hi Chao,
On 25.3.2011, at 06:14, Chao LU wrote:
> Dear all,
>
> Don't know if it is a little bug:
>
> For org capture template, if I set an template like this:
> ("i" "INBOX" entry (file+olp (concat org-private-dir "/iPrv.org") "INBOX"
> "test") "* %?" :prepend t)
>
> And for the iPrv.org, I have this structure:
> * INBOX
> ** test
>
> Then it works.
>
> But if the first level and the second level happen to have the same title (it
> does happen to me sometimes), like:
> * INBOX
> ** INBOX
>
> ("i" "INBOX" entry (file+olp (concat org-private-dir "/iPrv.org") "INBOX"
> "INBOX") "* %?" :prepend t)
> Then Org will prompt an error.
Indeed, there was a bug in the outline path resolving code.
Thanks for the report, fixed now.
- Carsten