cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35526] - File generator resolves to root context with empty src attribute
Date Thu, 01 Dec 2005 21:19:23 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35526>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35526





------- Additional Comments From williamstw@gmail.com  2005-12-01 22:19 -------
(In reply to comment #1)
> I don't know if we can do anything about it. The resolving must happen in the
> way as it done. And on access to this source the "Access Denied exception" is
> thrown. This can happen on any other directory with denied access too. The only
> solution I see is wrapping the "Access Denied exception" into a
> SourceNotFoundException, but I don't know if this does really buy you anything.

Wrapping it would help in that we would get an understandable message in return.
 Why even try to resolve the src attribute if it's a null value?  In other
words, why not check for a null value prior to even attempting the resolution? 
Is this behavior (""==sitemaprootdir) expected/required in other parts of Cocoon?  

Thanks,
--tim

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message