[opencms-dev] VfsFileWidget with files moving
Tosi, Joel
JTosi at cme.com
Wed Dec 7 21:40:11 CET 2005
When we publish 1.html, will it provide any other insight, for example
where a.doc has gone, or if it has been removed all together?
I guess I can just test that part out too.
Thanks,
Joel
________________________________
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jason Trump
Sent: Wednesday, December 07, 2005 2:36 PM
To: The OpenCms mailing list
Subject: RE: [opencms-dev] VfsFileWidget with files moving
links are checked on publication, but are only checked when the document
that contains the link is published. in your example, the link in
1.html is just broken after you move the file. the next time you touch
1.html, though, and attempt to publish it, OpenCms will notice that it
contains broken links and will warn you.
in the language of software dependencies, "afferent" links are not
checked when publishing a resource, but "efferent" links are checked. I
think Alexander said that better link management was on the roadmap for
a future release.
jason
________________________________
From: opencms-dev-bounces at opencms.org on behalf of Tosi, Joel
Sent: Wed 12/7/2005 3:06 PM
To: The OpenCms mailing list
Subject: [opencms-dev] VfsFileWidget with files moving
Is there any way for opencms to keep track of files moving / no longer
being valid? Perhaps an example would better illustrate my question:
Say I have a word doc, a.doc, located at /this/path/a.doc
Now in a separate piece of structured content called 1.html, I created a
Vfs link to a.doc.
If I move a.doc to /this/new/path/a.doc, won't the link on 1.html be
broken since the VfsFileWidget stores the paths as absolute? Or is
there a workaround / different widget? What about if I remove a.doc
from the website, does the link on 1.html end up broken or is the link
smart enough to become unclickable?
I would think that this issue would be addressed but I don't see it
offhand in the documentation how this process would work.
Thanks,
Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20051207/0d803125/attachment.htm>
More information about the opencms-dev
mailing list