[opencms-dev] opencms 7.0.2 | relation of 2 resources and link-handling fails if a configured site is in 3rd level
Joachim Zittmayr
joachim at imap.cc
Tue Nov 27 12:12:36 CET 2007
hey folks!
i provided a bugfix for bug 1535 (filed under
http://bugzilla.opencms.org/show_bug.cgi?id=1535), which changes the
CmsSiteManagerImpl.lookupSitesFolder(String rootPath) method subtly.
there was a problem with CmsSite-configurations, where a CmsSite was
configured to be under a subfolder of /sites/ (e.g.
/sites/company/divisionA and /sites/company/divisionB/). so all the link
relation and link processing didn't work out... the mail underneath may
be a bit confusing, but that time i didn't know the root cause of this,
so i guessed it was the new relation engine and/or CmsSiteManagerImpl...
hope that helps others too, kind regards!
joachim
On Wed, 03 Oct 2007 14:02:14 +0200, "Joachim Zittmayr" <joachim at imap.cc>
said:
> hello list!
> i have a serious issue here on my setup: i have several sites configured
> in subfolders of an folder of /sites/, e.g.
> /sites/foo/bar, /sites/foo/rab, /sites/foo/aaa and /sites/foo/bbb.
>
> now if i want to relate resources against each other, the CRE fails and
> adds
> /sites/foo/sites/foo to the link, everytime if i press save. i have
> several
> NULL-UUIDs in the db (table CMS_OFFLINE_RESOURCE_RELATIONS) under
> relation_target_id. also all links are completely wasted, as the link
> doesn't start with the specified folder(s), but /sites/foo/bar* is also
> prepended!
>
> so i guess that somehow the given resourcepath of a relation is only
> compared
> to the first 2 levels of the whole root-path, but i might be wrong...
> maybe the new CmsSiteManagerImpl, or maybe the SiteMatcher?
>
> i filed a bug report under
> http://bugzilla.opencms.org/show_bug.cgi?id=1535
>
> has anybody similar problems with such a use case?
> could anybody test this on his/hers opencms 7.0.2 system?
>
> thanks u all!
> joachim
> --
> Joachim Zittmayr
> joachim at imap.cc
>
> --
> http://www.fastmail.fm - Send your email first class
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please
> visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
--
Joachim Zittmayr
joachim at imap.cc
--
http://www.fastmail.fm - Or how I learned to stop worrying and
love email again
More information about the opencms-dev
mailing list