[opencms-dev] Static export cmslink not working as expected

Jose Ignacio Yarza jiyarza at opensistemas.com
Tue May 29 17:37:30 CEST 2012

Thank you for the answer Marc.

I have tried changing userelativelinks to false, but it does not solve 
the issue. I am getting this html now, plus all the other content links 
in the page are broken now too:

<img class="detail" 
Detail ???"/>

Putting that back to "true", I have tried showing another image field in 
the same page that we have in the same content (a field called Thumb 
which is another weak link to another image resource) and it works well 
with the original setting, so I am guessing there is something wrong 
specifically with the "Detail" xml field, but only at export time.

However, looking at the control code of the html content from within 
opencms both fields have the correct value. I have no idea why one of 
them is getting exported right and the other wrong. Here is the html 
content control code:

<link type="WEAK">
<link type="WEAK">

Here is the html after static export, the Detail src field is incorrect:

Detail ???"/>
<img src="../../../resources/img/content/press-thumb.gif"/>

It is opencms version 7.5.0

Any hint will be very appreciated, thanks.


On 05/29/2012 01:53 PM, Marc Johnen wrote:
> Hi Jose,
> have a look at the userelativelinks-node in
> [...]/WEB-INF/config/opencms-importexport.xml .
> My guess is that it is set to true.
> Greetings
> Marc
> http://www.johnen.biz/

Jose Ignacio Yarza
649 157 537
Open Sistemas

More information about the opencms-dev mailing list