Bugs item #1441999, was opened at 2006-03-02 19:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1441999&group_id=119783
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gili Tzabari (cowwoc)
Assigned to: Nobody/Anonymous (nobody)
Summary: Trying to hit missing resources should return HTTP 404
Initial Comment:
When Google tries crawing URLs of resources which no
longer exist or have been moved, Wicket is throwing
HTTP 500 and this exception:
wicket.WicketRuntimeException: shared resource
wallpapers/sunset/thumbnails/The_Silver_Star_by_Skybase.jpg
not found
at
wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:82)
at
wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java:47)
at
wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66)
at
wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:824)
at
wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:856)
at wicket.RequestCycle.step(RequestCycle.java:931)
at wicket.RequestCycle.steps(RequestCycle.java:1005)
at wicket.RequestCycle.request(RequestCycle.java:451)
at
wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:209)
whereas it should be returning an HTTP 404 message
instead (throwing and logging the exception is fine) so
Google knows not to crawl this URL again.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1441999&group_id=119783
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop