Ah, yes, I forgot to do that. Sorry. Sergiu Vincent Massol wrote:
Hi Sergiu,
Isn't this a patch from Evelina? If so we should acknowledge the contributor with our boilerplate template:
<jiraid>: <description> Patch submitted by <contributor> <optional text here>
wdyt?
Thanks -Vincent
On Feb 2, 2008, at 1:35 PM, sdumitriu (SVN) wrote:
Author: sdumitriu Date: 2008-02-02 13:35:08 +0100 (Sat, 02 Feb 2008) New Revision: 7275
Modified: xwiki-platform/skins/trunk/albatross/src/main/resources/albatross/ docalreadyexists.vm xwiki-platform/skins/trunk/dodo/src/main/resources/dodo/ docalreadyexists.vm xwiki-platform/skins/trunk/finch/src/main/resources/finch/ docalreadyexists.vm Log: XSALBATROSS-2: Doc already exists returns wrong HTTP status code Fixed.
Modified: xwiki-platform/skins/trunk/albatross/src/main/resources/ albatross/docalreadyexists.vm =================================================================== --- xwiki-platform/skins/trunk/albatross/src/main/resources/ albatross/docalreadyexists.vm 2008-02-02 09:27:09 UTC (rev 7274) +++ xwiki-platform/skins/trunk/albatross/src/main/resources/ albatross/docalreadyexists.vm 2008-02-02 12:35:08 UTC (rev 7275) @@ -2,6 +2,7 @@ ### Document already exists message ### ### +$response.setStatus(409) #template("startpage.vm") <div class="main layoutsubsection"> #if($xwiki.exists("XWiki.DocumentAlreadyExist"))
Modified: xwiki-platform/skins/trunk/dodo/src/main/resources/dodo/ docalreadyexists.vm =================================================================== --- xwiki-platform/skins/trunk/dodo/src/main/resources/dodo/ docalreadyexists.vm 2008-02-02 09:27:09 UTC (rev 7274) +++ xwiki-platform/skins/trunk/dodo/src/main/resources/dodo/ docalreadyexists.vm 2008-02-02 12:35:08 UTC (rev 7275) @@ -1,3 +1,4 @@ +$response.setStatus(409) #template("xwiki.vm") #template("httpheader.vm") #template("header.vm")
Modified: xwiki-platform/skins/trunk/finch/src/main/resources/finch/ docalreadyexists.vm =================================================================== --- xwiki-platform/skins/trunk/finch/src/main/resources/finch/ docalreadyexists.vm 2008-02-02 09:27:09 UTC (rev 7274) +++ xwiki-platform/skins/trunk/finch/src/main/resources/finch/ docalreadyexists.vm 2008-02-02 12:35:08 UTC (rev 7275) @@ -2,6 +2,7 @@ ### Document already exists messge ### ### +$response.setStatus(409) #template("startpage.vm") <div class="main layoutsubsection"> #if($xwiki.exists("XWiki.DocumentAlreadyExist"))