[Yanel-dev] [Bug 5327] The relative paths (of ../yanel) are not really correct for the login screen

bugzilla-daemon at bugzilla.wyona.com bugzilla-daemon at bugzilla.wyona.com
Thu May 10 01:27:48 CEST 2007


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5327





------- Additional Comments From jonathan.addison at wyona.com  2007-05-10 01:27 -------
Created an attachment (id=681)
 --> (http://bugzilla.wyona.com/cgi-bin/bugzilla/attachment.cgi?id=681&action=view)
filters out the mount-point from the path before passing it to backToRealm

* this patch removes the mount-point from the path that is passed to
backToRealm for the XHTMLAuthentication form (e.g. /yanel/yanel-img/ssl_on.png
instead of /yanel-website/yanel/yanel-img/ssl_on.png).
* backToRealm then generates the correct number of '../' steps.
* the only side effect is that the path to the image in the XSLT is now
/yanel-website/yanel/yanel-img/ssl_on.png, so Yanel then looks for the policy
info for this image in the yanel-website realm.  But these policy files don't
exist since the images reside in the webapp, so there are now errors in the
logs as seen below.

ERROR org.wyona.yarep.core.impl.fs.FileSystemRepositoryInputStream.<init>():34 
- java.io.FileNotFoundException: C:\src\yanel
test\trunk\src\realms\yanel-website\ac-policies\content\yanel\yanel-css\global.css.policy
(The system cannot find the path specified)

ERROR org.wyona.yarep.core.impl.fs.FileSystemRepositoryInputStream.<init>():34 
- java.io.FileNotFoundException: C:\src\yanel
test\trunk\src\realms\yanel-website\ac-policies\content\yanel\yanel-css.policy
(The system cannot find the path specified)



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the Yanel-development mailing list