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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to