commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32350] New: - [chain] Consider making lookup commands default to same chain
Date Tue, 23 Nov 2004 00:40:59 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=32350>.
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=32350

           Summary: [chain] Consider making lookup commands default to same
                    chain
           Product: Commons
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: chain
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: Joe@Germuska.com


I've just now started looking at some of the changes related to the
CatalogFactory implementations.  I find the need to specify a catalog in the
lookup commands clumsy and counter-intuitive.  It seems to me one should be able
to assume that lookups would be relative to other commands -- specifically for
the LookupCommand, but in struts-chain the ExceptionCatcher command would also
benefit.

Yes, you have the issue then of how one specifies that the command to be looked
up is in the "default" catalog, but I suspect that in reality the annoyance of
someone forgetting to specify the catalogName until there's an error will happen
much more than the need to specify "look this up in an entirely different
catalog and specifically the one-which-has-no-name"  Perhaps a boolean property
"defaultCatalog" or a reserved catalog name like DEFAULT_CATALOG ?  

I'd be happy to provide a patch, but first -- will people support this change or
veto it?

-- 
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message