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 2003/06/22 11:43:08 UTC

DO NOT REPLY [Bug 20994] New: - url tracking by user for testing purposes

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20994>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20994

url tracking by user for testing purposes

           Summary: url tracking by user for testing purposes
           Product: Struts
           Version: 1.1 RC1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Controller
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: garyashley@toughguy.net


With ongoing Customer Acceptance testing, it is often very difficult to get end 
users to describe accurately the steps taken that result in a problem or 
enhancement request.  URL Tracking by user will greatly enhance these efforts.

Proposed change to RequestProcessor processActionPerform():

		try {
			ActionForward af =
				(action.execute(mapping, form, request, 
response));

			if (log.isInfoEnabled()) {
				log.info(
					getInternal().getMessage(
						"tracking",
						request.getRequestURL().append
("?").append(
							request.getQueryString
()),
						request.getUserPrincipal()));
			}

			return af;

and the corresponding entry into ApplicationResources.properties:

tracking=The User -[{1}] navigated to this URL - [{0}].



This of course could be made a DEBUG level log entry if that seems more 
appropriate.

Thanks.

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