Download Word - Sakai Jira

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
[SAK-3446] possible typo in ParticipantImageServlet.java Created: 09-Jan-2006
Oct-2008 Resolved: 09-Jan-2006
Status:
Project:
Component/s:
Affects
Version/s:
Fix Version/s:
Closed
Sakai
Roster
2.1.0
Type:
Reporter:
Resolution:
Labels:
Remaining
Estimate:
Time Spent:
Original
Estimate:
Bug
Seth Theriault
Fixed
None
Not Specified
2.1.2
Priority:
Assignee:
Votes:
Trivial
Rashmi Shastri
0
Not Specified
Not Specified
Description
There seems to be a typo in PaticipantImageServlet.java:
[...]
public class ParticipantImageServlet extends HttpServlet
{
private static final Log LOG = LogFactory
.getLog(ParticipantImageServlet.class);
private static final String UNIVERSIRY_ID_PHOTO = "photo";
private static final String CONTENT_TYPE = "image/jpeg";
private ProfileManager profileManager;
private static final String IMAGE_PATH = "/images/";
private static final String UNIVERSITY_ID_IMAGE_UNAVAILABLE =
"/officialPhotoUnavailable.jpg";
/**

The doGet method of the servlet. <br>
*
Updated: 24-





This method is called when a form has its tag value method equals to get.
*
@param request the request send by the client to the server
@param response the response send by the server to the client
@throws ServletException if an error occurred
@throws IOException if an error occurred
*/
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
{
if (LOG.isDebugEnabled())
LOG.debug("doGet(HttpServletRequest" + request + ", HttpServletResponse"
+ response + ")");
response.setContentType(CONTENT_TYPE);
String userId = null;
OutputStream stream = response.getOutputStream();
userId = (String) request.getParameter(UNIVERSIRY_ID_PHOTO);
if (userId != null && userId.trim().length() > 0)
[...]
Should "UNIVERSIRY_ID_PHOTO" be renamed to "UNIVERSITY_ID_PHOTO"?
Comments
Comment by Rashmi Shastri [ 09-Jan-2006 ]
fixed as per: r5192
Comment by Megan May [ 16-May-2006 ]
This should have been resolved in the 2.1.2 release. Unfortunately, there were not sufficiant QA
resources to test this in that cycle. If you find this is still a problem, please reopen the ticket.
Generated at Sun Apr 30 04:02:44 CDT 2017 using JIRA 7.0.10#70120sha1:37e3d7a6fc4d580639533e7f7c232c925e554a6a.