[opencms-dev] Static export: relativelinks_in_export + vfs link

Mariano Barcia opencms at colaborativa.net
Mon Feb 21 04:17:51 CET 2005


Dear Alexander, all,

Good news for v6. Good news also for v5 is that our patch for 1) and 2)
seems to be working, but ... a 3) problem appeared and we cannot find
where the bug is originating. Let me explain briefly: 

3) For links in the body of pages, all relative paths get converted
always with a non-wanted additional prefix "../". This is happening for
links created by users in the WYSIWYG editor: a link would end up being
"../../myfolder/my.page.html" instead of the correct
"../myfolder/my.page.html".

We have gone through the Eclipse debugger and could not find where a
<LINK> tag (in the XML body) may be converted to the "relative form"
during the static export. For 1) and 2) we found the point where the
links were being processed according to the rules of the static export,
but we cannot find the same point for links within the XML body. 

Question would be: 
When does a LINK in the XML body gets processed for static export,
according to the rules set in the opencms.properties?

Any hint would be highly appreciated. TIA,
--mariano

-----Mensaje original-----
De: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] En nombre de Alexander Kandzior
Enviado el: Domingo, 20 de Febrero de 2005 04:37 a.m.
Para: 'The OpenCms mailing list'
Asunto: RE: [opencms-dev] Static export: relativelinks_in_export + vfs
link


> This issue reported by Patricio was part of a more general 
> problem in the static export affecting OpenCMS 5. I've 
> submitted this as a bug here 
> http://www.opencms.org/bugzilla/show_bug.cgi?id=564. 
> 
> Digging into the CVS HEAD shows that this class has been 
> deleted, so it is likely that the problem is solved for 
> future versions, isn't it Alex?

Well the code was completly re-written and we have no currently known
bugs
in the CVS HEAD / 6.0 Beta 1. We fixed a couple of minor bugs and made
some
enhancements since 6.0a3.

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com



_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list