Page 1 of 1

Error when inserting reusable content

Posted: Tue Mar 02, 2021 10:44 pm
by Carl
I have saved a couple of sentences as reusable content. It was saved as "Selected Text". But when I try to insert this content elsewhere, I keep getting this cryptic error:
XPath failed due to: The require item type of the second operand of '|' is node(); the supplied value "Timestamps should only be specified..." is an atomic value.

More details...
Clicking "More details" displays a Java error dump (which I can send you later if that's helpful).

What does this error mean? Even stranger, this error displays immediately when I right click > Reuse > Insert reusable content. I haven't even selected my reuse file yet.

Re: Error when inserting reusable content

Posted: Wed Mar 03, 2021 4:34 pm
by IrinaNadolu
Hello,

Thank you for bringing the issue to our notice, we managed to reproduce it and we added an internal issue for it.
The problem seems to happen only if you add a Description when creating a reusable component.
So, in the meantime, maybe you can leave the Description text area empty when creating the reusable component. I hope this solves the problem for now.
We'll update this forum thread when a fix is available.

Regards,
Irina

Re: Error when inserting reusable content

Posted: Thu Mar 04, 2021 4:03 am
by Carl
That's interesting. It must be a new bug then (in v23?)! That's because I've created many reusable components with a description in the past, and I've never run into this problem before.

Re: Error when inserting reusable content

Posted: Thu Mar 04, 2021 9:15 am
by IrinaNadolu
Hi Carl,

This is correct, the problem was introduced in Oxygen 23.0.

Regards,
Irina

Re: Error when inserting reusable content

Posted: Tue Apr 13, 2021 1:14 pm
by IrinaNadolu
Hello Carl,

I wanted to let you know that we released a maintenance kit for Oxygen 23.1 and it also contains a fix for the problem you had with inserting reused content from a reusable components file. Now, even if the initially created component has a description defined for it, the insertion does not fail anymore.

Best regards,
Irina