Hi,
When handling conrefs to objects that no longer exist in our CMS, we would like to handle this the same way as regular dita files with the same issue.
E.g
<note
id="GUID-364D534C-E105-4CA7-81B5-FA910387D630"
conref="./Jenkins/nonexistingfile.dita">
Results in a ‘[Target file not found]’ error with more details when you hover over.
For the moment we return a new File(tothenonexistingpath) in getCanonicalFileFromFileUrl, which results in the erro:
xxx\GUID-C2F39B76-FDC6-4E7C-80E1-36E7BC635FBA (The system cannot find the file specified)
Is there a way we can raise the same error from our custom code?
Kind regards,
Pascal
|