Thanks for getting back to me on this.

Here is a minimal example. In org-roam (v2), when having a file/node:

note_a.org:

:PROPERTIES:
:ID:       3c885843-13ad-4dd8-a57f-de8271403b85
:END:
#+TITLE: Note A




and a second file note_b.org:

:PROPERTIES:
:ID:       715fdccf-0c40-4bbe-87b0-ae9787c46a1b
:END:
#+TITLE: Note B
[[id:3c885843-13ad-4dd8-a57f-de8271403b85][Link to Note A]]




and then run (org-odt-export-to-odt) (within the buffer #note_b.org), then I get the aforementioned error:

OpenDocument export failed: FIXME: Unable to resolve "note_a.org"

Hope this helps.

Best,
Moritz

On Tue, 18 Oct 2022 at 09:46, Ihor Radchenko <yantar92@posteo.net> wrote:
Moritz Schäfer <mail@moritzs.de> writes:

> When exporting an org-file with org-id based links  to odt, I get the
> error error "FIXME: Unable to resolve <filename>", where <filename> is the
> filename, the org-id-link was pointing to.
>
> Org-id links (example below) are the default for org-roam (v2).
>
> [[id:5222a0dd-5084-41bd-b61d-21dcb3290187][Note title]]
>
> The issue lies within ox-odt.el in the org-odt-link function. There, '
> destination' takes the value of the file name of the id-link target.
> Therefore, (org-element-type destination) gets evaluated to 'plain-text,
> which is not resolvable by 'org-odt-link--infer-description', thus it
> raises the error.
>
> I worked around this issue by adding a check for plain-text, but would like
> to raise this issue here to find proper ideas on how to fix this.

Thanks for reporting, and sorry for the late reply.
Could you provide an example and steps demonstrating the problem?

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


--

________________________________________

Moritz Schäfer, PhD
Bioinformatician
Postdoctoral Fellow

Christoph Bock Group

________________________________________

CeMM

Research Center for Molecular Medicine
of the Austrian Academy of Sciences

Lazarettgasse 14, AKH BT 25.3
1090 Vienna, Austria

mschaefer@cemm.at

www.cemm.at

________________________________________