You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2005/11/22 00:45:57 UTC

DO NOT REPLY [Bug 37585] - html:link broken in the struts-examples webapp

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=37585>.
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=37585


niallp@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From niallp@apache.org  2005-11-22 00:45 -------
The reason the struts-examples webapp has started breaking is because of the 
following change to TagUtils which now throws a NullPointerException if the 
ModuleUtils are not found:

   http://svn.apache.org/viewcvs.cgi?rev=289342&view=rev

However, the default module uses a prefix of "" (and not "/") and IMO if "/" is 
specified ModuleUtils should find the default, rather than returning null.

In the case of <html:link> specifying an action and module="/", not finding the 
ModuleUtils worked, but in the case of <html:link> specifying a page and 
module="/" it didn't.

I have changed ModuleUtils in revision 348028 to retrieve the "default" 
module's config if either "" or "/" is specified for the prefix.

   http://svn.apache.org/viewcvs?rev=348028&view=rev


-- 
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org